Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Robert Haas <rhaas@postgresql.org>

Commit: 93a07a68eed76d36519ff17eb9bedc376f38e8c5
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-04-28T18:52:20Z
Releases: 9.4.12
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

Files

Discussion