diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-03-03 13:09:20 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-03-03 13:09:20 -0500 |
commit | 4528768d98f83070d625207dcb526982fb18f1ce (patch) | |
tree | de834314024ffdfbe0101f03416ebb6177f723d8 /src/backend/utils/adt/pgstatfuncs.c | |
parent | 95f650674d2ceea1ba6440a9b0ae89ed3867fd7e (diff) | |
download | postgresql-4528768d98f83070d625207dcb526982fb18f1ce.tar.gz postgresql-4528768d98f83070d625207dcb526982fb18f1ce.zip |
Remove now-dead code in StoreAttrDefault().
StoreAttrDefault() is no longer responsible for filling
attmissingval, so remove the code for that.
Get rid of RawColumnDefault.missingMode, too, as we no longer
need that to pass information around.
While here, clean up some sloppy coding in StoreAttrDefault(),
such as failure to use XXXGetDatum macros. These aren't bugs
but they're not good code either.
Reported-by: jian he <jian.universality@gmail.com>
Author: jian he <jian.universality@gmail.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CACJufxHFssPvkP1we7WMhPD_1kwgbG52o=kQgL+TnVoX5LOyCQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions