Add tests for COPY in PL/pgSQL
authorMichael Paquier <[email protected]>
Sat, 9 Nov 2019 05:50:20 +0000 (14:50 +0900)
committerMichael Paquier <[email protected]>
Sat, 9 Nov 2019 05:50:20 +0000 (14:50 +0900)
commit1858b105b05fcded43e9f2b767dec7268431043b
tree72fd184077f52196590c50e1b274f4c7a8989944
parentaae50236e4ce95c05a3962be0814c74c5a22206d
Add tests for COPY in PL/pgSQL

This stresses the error handling of COPY inside SPI which does not
support the operation using stdin or stdout, and these scenarios were
not tested up to now.

Author: Mark Dilger
Discussion: https://postgr.es/m/a6e9b130-7fd5-387b-4ec5-89bda24373ab@gmail.com
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/data/copy1.data[new file with mode: 0644]
src/pl/plpgsql/src/expected/.gitignore[new file with mode: 0644]
src/pl/plpgsql/src/input/plpgsql_copy.source[new file with mode: 0644]
src/pl/plpgsql/src/output/plpgsql_copy.source[new file with mode: 0644]
src/pl/plpgsql/src/sql/.gitignore[new file with mode: 0644]