diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-10 17:24:26 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-10 17:24:26 -0500 |
commit | 294a2199a331ff719e0d0fe70fd2b6200689eb16 (patch) | |
tree | 5647a71e0b3c2b6ea1dc12e97f877a6f97eae03c /src/backend/access/gist/gistvalidate.c | |
parent | 0942acb73efcff1564f8d1b1ae890c8135467eae (diff) | |
download | postgresql-294a2199a331ff719e0d0fe70fd2b6200689eb16.tar.gz postgresql-294a2199a331ff719e0d0fe70fd2b6200689eb16.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/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions