On Tue, Aug 28, 2012 at 6:40 AM, Amit Kapila <amit(dot)kapila(at)huawei(dot)com> wrote:
> 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?
+1.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company