From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Code review for c94e6942cefe7d20c5feed856e27f672734b1e2b.
Date: Wed, 12 Apr 2017 15:35:41 +0000
Message-ID: <E1cyKJ3-0007Jn-T3@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Code review for c94e6942cefe7d20c5feed856e27f672734b1e2b.
validateCheckConstraint() shouldn't try to access the storage for
a partitioned table, because it no longer has any. Creating a
_RETURN table on a partitioned table shouldn't be allowed, both
because there's no value in it and because trying to do so would
involve a validation scan against its nonexistent storage.
Amit Langote, reviewed by Tom Lane. Regression test outputs
updated to pass by me.
Discussion: http://postgr.es/m/e5c3cbd3-1551-d6f8-c9e2-51777d632fd2@lab.ntt.co.jp
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/1d5fede4a900d135745c1fa5a70dcfe0b3359e3d
Modified Files
--------------
src/backend/commands/tablecmds.c | 8 ++++++--
src/backend/rewrite/rewriteDefine.c | 6 ++++++
src/test/regress/expected/alter_table.out | 6 ++++++
src/test/regress/expected/rules.out | 5 +++++
src/test/regress/sql/alter_table.sql | 7 +++++++
src/test/regress/sql/rules.sql | 5 +++++
6 files changed, 35 insertions(+), 2 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: Code review for c94e6942cefe7d20c5feed856e27f672734b1e2b.
In-Reply-To: <E1cyKJ3-0007Jn-T3@gemulon.postgresql.org>
References: <E1cyKJ3-0007Jn-T3@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