Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".
Tom Lane <tgl@sss.pgh.pa.us>
Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT". We already allow explicitly writing DEFAULT for SET COMPRESSION, so it seems a bit inflexible and non-orthogonal to not have it for STORAGE. Aleksander Alekseev Discussion: https://postgr.es/m/CAJ7c6TMX9ui+6y3TQFaXJYVpZyBukvqhQbVDJ8OUokeLRhtnpA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_foreign_table.sgml | modified | +1 −1 |
| doc/src/sgml/ref/alter_materialized_view.sgml | modified | +1 −1 |
| doc/src/sgml/ref/alter_table.sgml | modified | +13 −9 |
| doc/src/sgml/ref/create_table.sgml | modified | +10 −8 |
| src/backend/commands/tablecmds.c | modified | +2 −0 |
| src/backend/parser/gram.y | modified | +1 −0 |
| src/bin/psql/tab-complete.c | modified | +1 −1 |
| src/test/regress/expected/alter_table.out | modified | +1 −1 |
| src/test/regress/sql/alter_table.sql | modified | +1 −1 |
Documentation touched
Discussion
- [PATCH] ALTER TABLE ... SET STORAGE default 6 messages · 2022-08-22 → 2022-11-10