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 arechecked.
regards, tom lane