Обсуждение: [COMMITTERS] pgsql: Fix bug in deciding whether to scan newly-attached partition.

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Fix bug in deciding whether to scan newly-attached partition.

От
Robert Haas
Дата:
Fix bug in deciding whether to scan newly-attached partition.

If the table being attached had different attribute numbers than the
parent, the old code could incorrectly decide it needed to be scanned.

Amit Langote, reviewed by Ashutosh Bapat

Discussion: http://postgr.es/m/CA+TgmobexgbBr2+Utw-pOMw9uxaBRKRjMW_-mmzKKx9PejPLMg@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/tablecmds.c          | 40 ++++++++++++++++++---------
src/test/regress/expected/alter_table.out | 45 +++++++++++++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 38 ++++++++++++++++++++++++++
3 files changed, 111 insertions(+), 12 deletions(-)