From: Tom Lane [mailto:t...@sss.pgh.pa.us] Sent: Tuesday, August 28, 2012 2:04 AM Robert Haas <robertmh...@gmail.com> writes: >> Maybe, but in that case shouldn't referencing a system column chuck an error?
> 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? With Regards, Amit Kapila. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs