]> granicus.if.org Git - postgresql/commit
Support "COPY view FROM" for views with INSTEAD OF INSERT triggers.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Nov 2016 19:13:43 +0000 (14:13 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Nov 2016 19:13:43 +0000 (14:13 -0500)
commit279c439c7fbc1bcb52173d92dd3b1fbe63e497ab
treecf45b8dbbbbbb477793c0fd0939de6cc3502327b
parente1b449bea909fa70211841d508cfaf91d18a6abb
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@mail.gmail.com>
doc/src/sgml/ref/copy.sgml
src/backend/commands/copy.c
src/test/regress/expected/copy2.out
src/test/regress/sql/copy2.sql