From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, August 28, 2012 2:04 AM
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> Maybe, but in that case shouldn't referencing a system column chuck an
> Yeah, possibly. I think none of them are populated with anything useful
> during INSERT checks (though OID might be an exception?). Less sure
> about the state during UPDATE checks, though.
AFAICT during Update also, it doesn't contain useful. The only chance it
would have contain something useful is when it goes for EvalPlanQual and
then again comes to check for constraints. However these attributes get
filled in heap_update much later.
So now should the fix be that it returns an error for system column
reference except for OID case?
In response to
pgsql-bugs by date
|Next:||From: Ryan Kelly||Date: 2012-08-28 11:40:07|
|Subject: Re: [PATCH] Prevent hanging on unreachable hosts on startup|
|Previous:||From: Chris Travers||Date: 2012-08-28 06:46:13|
|Subject: Re: Minor inheritance/check bug: Inconsistent behavior|