NikhilS <[EMAIL PROTECTED]> writes: > ... > * Add logic to mark inherited constraints in the children: > This can be achieved by introducing a new bool "coninherited" attribute in > pg_constraint. This will be set to true on only those check constraints that > are added to children via the inheritance mechanism
It probably needs to be a count not a bool. You can/should use the handling of inherited attributes as a pattern to follow --- look at attislocal and attinhcount. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers