Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Robert Haas <rhaas@postgresql.org>

Commit: f60f0c8fe3d871c8903b487734fd593313b16306
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-04-28T18:55:42Z
Releases: 9.2.21
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