Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I was wondering in particular whether it wouldn't be appropriate
> to include the same errdetail in ExecConstraints's other check,
> the one for null in not-null columns. Arguably a not-null check
> is just a slightly optimized form of a CHECK constraint, and
> anyway if you think you need row identification info for a CHECK
> failure I don't see why you'd not want it for NOT NULL failure.
Makes sense to me.
In response to
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 2011-11-29 20:34:40|
|Subject: Re: Inlining comparators as a performance
|Previous:||From: Tom Lane||Date: 2011-11-29 20:09:59|
|Subject: Re: Re: [patch] Include detailed information about a row failing a CHECK constraint into the error message |