aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-11-10 17:24:26 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-11-10 17:24:26 -0500
commit3383cf023484d595cc58ff47a9aa76ce5ed5bcf3 (patch)
tree7e87a9468b8a6746fd9a09d05f07800be433e1be /src/backend/access/gist/gistbuild.c
parent06dca17ad547ec7cf75d2e88436d28be9d1a51c9 (diff)
downloadpostgresql-3383cf023484d595cc58ff47a9aa76ce5ed5bcf3.tar.gz
postgresql-3383cf023484d595cc58ff47a9aa76ce5ed5bcf3.zip
Fix alter_table.sql test case to test what it claims to.
The stanza "SET STORAGE may need to add a TOAST table" does not test what it's supposed to, and hasn't done so since we added the ability to store constant column default values as metadata. We need to use a non-constant default to get the expected table rewrite to actually happen. Fix that, and add the missing checks that would have exposed the problem to begin with. Noted while reviewing a patch that made changes in this test case. Back-patch to v11 where the problem came in.
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions