Support "COPY view FROM" for views with INSTEAD OF INSERT triggers.
Tom Lane <tgl@sss.pgh.pa.us>
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>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/copy.sgml | modified | +8 −2 |
| src/backend/commands/copy.c | modified | +62 −42 |
| src/test/regress/expected/copy2.out | modified | +26 −0 |
| src/test/regress/sql/copy2.sql | modified | +29 −0 |