]> granicus.if.org Git - postgresql/commit
Make heap_update() set newtup->t_tableOid correctly, for consistency with
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Dec 2008 16:26:14 +0000 (16:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Dec 2008 16:26:14 +0000 (16:26 +0000)
commitb33432a33b7b40053b7221eff7c38a5fae9ad740
tree5065d5e5a80e77e6ebf4e547fa002b5f5aab3ba8
parent7cec608b7a480c3aea8657bbb17d4a45a282d143
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