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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9418d79a7664e75a2824adfc78b859b4d0f77962

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