Make heap_update() set newtup->t_tableOid correctly, for consistency with
commit082f5610cf3bddb804031cece6b8448adf3b6d16
authortgl <tgl>
Tue, 16 Dec 2008 16:26:08 +0000 (16 16:26 +0000)
committertgl <tgl>
Tue, 16 Dec 2008 16:26:08 +0000 (16 16:26 +0000)
tree68acf28970d20b511dda33cc7203984af035bc22
parentb446ca03e82f91ea06f536c9a972be58e74ee2a4
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.
src/backend/access/heap/heapam.c