Re: [BUGS] Problem identifying constraints which should not be inherited

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Problem identifying constraints which should not be inherited
Дата
Msg-id 9795.1206631469@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Problem identifying constraints which should not be inherited  (NikhilS <nikkhils@gmail.com>)
Список pgsql-hackers
NikhilS <nikkhils@gmail.com> 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Patch queue permenent URLs
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Patch queue permenent URLs