pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
@ 2017-04-28 19:00  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-04-28 19:00 UTC (permalink / raw)
  To: pgsql-committers

Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Currently, trying to validate a NO INHERIT constraint on the parent will
search for the constraint in child tables (where it is not supposed to
exist), wrongly causing a "constraint does not exist" error.

Amit Langote, per a report from Hans Buschmann.

Discussion: http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a4dda44e02bfd5148c13b00d8f81045a2e17f2c

Modified Files
--------------
src/backend/commands/tablecmds.c          |  5 +++--
src/test/regress/expected/alter_table.out | 20 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 15 +++++++++++++++
3 files changed, 38 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
@ 2017-04-28 19:00  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-04-28 19:00 UTC (permalink / raw)
  To: pgsql-committers

Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Currently, trying to validate a NO INHERIT constraint on the parent will
search for the constraint in child tables (where it is not supposed to
exist), wrongly causing a "constraint does not exist" error.

Amit Langote, per a report from Hans Buschmann.

Discussion: http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/954744f7ac759e2dfe1f52e4493f728b98c615f2

Modified Files
--------------
src/backend/commands/tablecmds.c          |  5 +++--
src/test/regress/expected/alter_table.out | 20 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 15 +++++++++++++++
3 files changed, 38 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
@ 2017-04-28 19:00  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-04-28 19:00 UTC (permalink / raw)
  To: pgsql-committers

Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Currently, trying to validate a NO INHERIT constraint on the parent will
search for the constraint in child tables (where it is not supposed to
exist), wrongly causing a "constraint does not exist" error.

Amit Langote, per a report from Hans Buschmann.

Discussion: http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org

Branch
------
REL9_2_STABLE

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

Modified Files
--------------
src/backend/commands/tablecmds.c          |  5 +++--
src/test/regress/expected/alter_table.out | 20 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 15 +++++++++++++++
3 files changed, 38 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
@ 2017-04-28 19:00  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-04-28 19:00 UTC (permalink / raw)
  To: pgsql-committers

Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Currently, trying to validate a NO INHERIT constraint on the parent will
search for the constraint in child tables (where it is not supposed to
exist), wrongly causing a "constraint does not exist" error.

Amit Langote, per a report from Hans Buschmann.

Discussion: http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/93a07a68eed76d36519ff17eb9bedc376f38e8c5

Modified Files
--------------
src/backend/commands/tablecmds.c          |  5 +++--
src/test/regress/expected/alter_table.out | 20 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 15 +++++++++++++++
3 files changed, 38 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
@ 2017-04-28 19:00  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-04-28 19:00 UTC (permalink / raw)
  To: pgsql-committers

Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Currently, trying to validate a NO INHERIT constraint on the parent will
search for the constraint in child tables (where it is not supposed to
exist), wrongly causing a "constraint does not exist" error.

Amit Langote, per a report from Hans Buschmann.

Discussion: http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
src/backend/commands/tablecmds.c          |  5 +++--
src/test/regress/expected/alter_table.out | 20 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 15 +++++++++++++++
3 files changed, 38 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
@ 2017-04-28 19:00  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2017-04-28 19:00 UTC (permalink / raw)
  To: pgsql-committers

Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Currently, trying to validate a NO INHERIT constraint on the parent will
search for the constraint in child tables (where it is not supposed to
exist), wrongly causing a "constraint does not exist" error.

Amit Langote, per a report from Hans Buschmann.

Discussion: http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8a9c83bfaf889702401f532fbe2adaf604ca1bd6

Modified Files
--------------
src/backend/commands/tablecmds.c          |  5 +++--
src/test/regress/expected/alter_table.out | 20 ++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 15 +++++++++++++++
3 files changed, 38 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2017-04-28 19:00 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-04-28 19:00 pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute. Robert Haas <rhaas@postgresql.org>
2017-04-28 19:00 pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute. Robert Haas <rhaas@postgresql.org>
2017-04-28 19:00 pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute. Robert Haas <rhaas@postgresql.org>
2017-04-28 19:00 pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute. Robert Haas <rhaas@postgresql.org>
2017-04-28 19:00 pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute. Robert Haas <rhaas@postgresql.org>
2017-04-28 19:00 pgsql: Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute. Robert Haas <rhaas@postgresql.org>

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