Thread: pgsql: When modifying a foreign table, initialize tableoid field proper

pgsql: When modifying a foreign table, initialize tableoid field proper

From
Robert Haas
Date:
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

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1f3294c22f614da74dd98a2ef69137bfa9135c96

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)