pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".
Date: Thu, 10 Nov 2022 23:20:57 +0000
Message-ID: <E1otGqu-000XOP-Eq@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1otGqu-000XOP-Eq@gemulon.postgresql.org>
Permalink:  ../E1otGqu-000XOP-Eq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1otGqu-000XOP-Eq@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".
  In-Reply-To: <E1otGqu-000XOP-Eq@gemulon.postgresql.org>
  References: <E1otGqu-000XOP-Eq@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox