]> 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:21 +0000 (16:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Dec 2008 16:26:21 +0000 (16:26 +0000)
commite581c04879832e371c322b331a6fad41ffca6916
tree2465245b293ea9e18fee7a1e7bafd926dc701d9c
parent7ae3c0f67baf23ff781f7fd990a1abf3005408be
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