]> 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:15:57 +0000 (21:15 -0500)
commit1f3294c22f614da74dd98a2ef69137bfa9135c96
tree42ef100990135368cc828698f93dd850b607ef87
parent411e2b0d59947b8fce39906b4722781895e31b1e
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