pgsql: Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".
Date: 2022-11-10 23:20:57
Message-ID: E1otGqu-000XOP-Eq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b9424d014e195386a83b0f1fe9f5a8e5727e46ea

Modified Files
--------------
doc/src/sgml/ref/alter_foreign_table.sgml | 2 +-
doc/src/sgml/ref/alter_materialized_view.sgml | 2 +-
doc/src/sgml/ref/alter_table.sgml | 22 +++++++++++++---------
doc/src/sgml/ref/create_table.sgml | 18 ++++++++++--------
src/backend/commands/tablecmds.c | 2 ++
src/backend/parser/gram.y | 1 +
src/bin/psql/tab-complete.c | 2 +-
src/test/regress/expected/alter_table.out | 2 +-
src/test/regress/sql/alter_table.sql | 2 +-
9 files changed, 31 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-11-11 15:02:16 pgsql: meson: Define HAVE_LOCALE_T for msvc
Previous Message Tom Lane 2022-11-10 22:24:41 pgsql: Fix alter_table.sql test case to test what it claims to.