pgsql: Propagate ALTER TABLE ... SET STORAGE to indexes

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Propagate ALTER TABLE ... SET STORAGE to indexes
Дата
Msg-id E1jWyA1-0005t6-1g@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Propagate ALTER TABLE ... SET STORAGE to indexes

When creating a new index, the attstorage setting of the table column
is copied to regular (non-expression) index columns.  But a later
ALTER TABLE ... SET STORAGE is not propagated to indexes, thus
creating an inconsistent and undumpable state.

Discussion: https://www.postgresql.org/message-id/flat/9765d72b-37c0-06f5-e349-2a580aafd989%402ndquadrant.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/03a8a5f2d4a1f9886ad1d62d3f70424dfcdf8048

Modified Files
--------------
contrib/test_decoding/expected/toast.out  |  4 +++
contrib/test_decoding/sql/toast.sql       |  5 ++++
src/backend/commands/tablecmds.c          | 48 +++++++++++++++++++++++++++++++
src/test/regress/expected/alter_table.out | 20 +++++++++++++
src/test/regress/sql/alter_table.sql      |  6 ++++
5 files changed, 83 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Propagate ALTER TABLE ... SET STORAGE to indexes
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix several DDL issues of generated columns versus inheritance