[COMMITTERS] pgsql: Allow ALTER TABLE ONLY on partitioned tables

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема [COMMITTERS] pgsql: Allow ALTER TABLE ONLY on partitioned tables
Дата
Msg-id E1d37XC-0003pQ-AK@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: [COMMITTERS] pgsql: doc PG10: update EXPLAIN SUMMARY item
Следующее
От: Bruce Momjian
Дата:
Сообщение: [COMMITTERS] pgsql: doc PG10: add Rafia Sabih to parallel index scan item