Support "COPY view FROM" for views with INSTEAD OF INSERT triggers.
We just pass the data to the INSTEAD trigger.
Haribabu Kommi, reviewed by Dilip Kumar
Patch: <CAJrrPGcSQkrNkO+4PhLm4B8UQQQmU9YVUuqmtgM=pmzMfxWaWQ(at)mail(dot)gmail(dot)com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/279c439c7fbc1bcb52173d92dd3b1fbe63e497ab
Modified Files
--------------
doc/src/sgml/ref/copy.sgml | 10 +++-
src/backend/commands/copy.c | 104 +++++++++++++++++++++---------------
src/test/regress/expected/copy2.out | 26 +++++++++
src/test/regress/sql/copy2.sql | 29 ++++++++++
4 files changed, 125 insertions(+), 44 deletions(-)