Re: Minor inheritance/check bug: Inconsistent behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Minor inheritance/check bug: Inconsistent behavior
Дата
Msg-id 19794.1345817744@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Minor inheritance/check bug: Inconsistent behavior  (Amit Kapila <amit.kapila@huawei.com>)
Ответы Re: Minor inheritance/check bug: Inconsistent behavior
Список pgsql-bugs
Amit Kapila <amit.kapila@huawei.com> writes:
> From: pgsql-bugs-owner@postgresql.org
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Tom Lane
>> None of the system columns are set at the time check constraints are
>> checked.

> Is there any problem if set tableOID before calling ExecConstarints()?

Well, possibly we could kluge things to make that particular case work,
but if someone expects that to be valid then why not oid, ctid, xmin,
etc?  And more to the point, what's the value of examining tableoid in
a check constraint?  The constraint is attached to a particular table,
so the tableoid would be a constant for it anyway.

            regards, tom lane

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Minor inheritance/check bug: Inconsistent behavior
Следующее
От: Chris Travers
Дата:
Сообщение: Re: Minor inheritance/check bug: Inconsistent behavior