From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix bug in deciding whether to scan newly-attached partition.
Date: Sat, 05 Aug 2017 02:05:51 +0000
Message-ID: <E1ddoTP-00013c-4D@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Fix bug in deciding whether to scan newly-attached partition.
In-Reply-To: <E1ddoTP-00013c-4D@gemulon.postgresql.org>
References: <E1ddoTP-00013c-4D@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox