Re: Minor inheritance/check bug: Inconsistent behavior

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Chris Travers'" <chris(at)metatrontech(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Minor inheritance/check bug: Inconsistent behavior
Date: 2012-08-24 10:52:07
Message-ID: 000301cd81e6$81f942b0$85ebc810$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

From: pgsql-bugs-owner(at)postgresql(dot)org
[mailto:pgsql-bugs-owner(at)postgresql(dot)org] On Behalf Of Tom Lane
Sent: Friday, August 24, 2012 10:33 AM
Chris Travers <chris(at)metatrontech(dot)com> writes:
>> My guess is that tableoid is not known when the check constraint is
>> checked.

>None of the system columns are set at the time check constraints are
>checked.

Is there any problem if set tableOID before calling ExecConstarints()?
I am not sure may be this is not so important problem for which we don't
want to
change existing code.

With Regards,
Amit Kapila.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-08-24 14:15:44 Re: Minor inheritance/check bug: Inconsistent behavior
Previous Message Tom Lane 2012-08-24 05:03:16 Re: Minor inheritance/check bug: Inconsistent behavior