pgsql: Make heap_update() set newtup->t_tableOid correctly, for - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Make heap_update() set newtup->t_tableOid correctly, for
Date
Msg-id 20081216162621.AE68A7563FE@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make heap_update() set newtup->t_tableOid correctly, for consistency with
the other major heapam.c functions.  The only known consequence of this
omission is that UPDATE RETURNING failed to return the correct value for
"tableoid", as per report from KaiGai Kohei.

Back-patch to 8.2.  Arguably it's wrong all the way back; but without
evidence of visible breakage before RETURNING was added, I'll desist from
patching the older branches.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.222.2.2 -> r1.222.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c?r1=1.222.2.2&r2=1.222.2.3)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make heap_update() set newtup->t_tableOid correctly, for
Next
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Add note to the shared memory sizing table about needing to use