]> 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:46 +0000 (21:17 -0500)
commit453d40817cd27910930248ab23a1e81fa04628f1
tree22cc447c45f3a8cc26671831e188cc578d7d0a2d
parent3676136ffc5cb20163540332670df90b029a8317
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