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

From Robert Haas
Subject [COMMITTERS] pgsql: Fix bug in deciding whether to scan newly-attached partition.
Date
Msg-id E1ddoTP-00013c-4D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Only kill sync workers at commit time in subscription DDL
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Add support for ICU 4.2