aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-06-13 10:54:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-06-13 10:54:43 -0400
commitb74701043e396a93f1f18098044741daaf75f761 (patch)
tree254337243b87cb8adfd08a3c2fa0222d2bda2018 /src/backend/access/gist/gistvalidate.c
parentf2a886104a6683227bfcb0932dde97d30b123961 (diff)
downloadpostgresql-b74701043e396a93f1f18098044741daaf75f761.tar.gz
postgresql-b74701043e396a93f1f18098044741daaf75f761.zip
In initdb, defend against assignment of NULL values to not-null columns.
Previously, you could write _null_ in a BKI DATA line for a column that's supposed to be NOT NULL and initdb would let it pass, probably breaking subsequent accesses to the row. No doubt the original coding overlooked this simple sanity check because in the beginning we didn't have any way to mark catalog columns NOT NULL at initdb time.
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions