]> granicus.if.org Git - postgresql/commit
When modifying a foreign table, initialize tableoid field properly.
authorRobert Haas <rhaas@postgresql.org>
Fri, 5 Feb 2016 02:15:57 +0000 (21:15 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 5 Feb 2016 02:17:53 +0000 (21:17 -0500)
commit9418d79a7664e75a2824adfc78b859b4d0f77962
tree909f684d7fbbe6d3339a1571d170a12ebefcbe12
parentf8003e07f9715873796f39b1a36e07135f09d003
When modifying a foreign table, initialize tableoid field properly.

Failure to do this can cause AFTER ROW triggers or RETURNING expressions
that reference this field to misbehave.

Etsuro Fujita, reviewed by Thom Brown
src/backend/executor/nodeModifyTable.c