[COMMITTERS] pgsql: Allow ALTER TABLE ONLY on partitioned tables - Mailing list pgsql-committers

From Stephen Frost
Subject [COMMITTERS] pgsql: Allow ALTER TABLE ONLY on partitioned tables
Date
Msg-id E1d37XC-0003pQ-AK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow ALTER TABLE ONLY on partitioned tables

There is no need to forbid ALTER TABLE ONLY on partitioned tables,
when no partitions exist yet.  This can be handy for users who are
building up their partitioned table independently and will create actual
partitions later.

In addition, this is how pg_dump likes to operate in certain instances.

Author: Amit Langote, with some error message word-smithing by me

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9139aa19423b736470f669e566f8ef6a7f19b801

Modified Files
--------------
doc/src/sgml/ddl.sgml                     | 18 ++++++---
src/backend/commands/tablecmds.c          | 66 +++++++++++++++++++------------
src/test/regress/expected/alter_table.out | 36 +++++++++++------
src/test/regress/expected/truncate.out    |  8 ++++
src/test/regress/sql/alter_table.sql      | 24 ++++++++---
src/test/regress/sql/truncate.sql         |  4 ++
6 files changed, 108 insertions(+), 48 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: [COMMITTERS] pgsql: doc PG10: update EXPLAIN SUMMARY item
Next
From: Bruce Momjian
Date:
Subject: [COMMITTERS] pgsql: doc PG10: add Rafia Sabih to parallel index scan item