Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.

Robert Haas <rhaas@postgresql.org>

Commit: 954744f7ac759e2dfe1f52e4493f728b98c615f2
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-04-28T18:53:56Z
Releases: 9.3.17
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