Add tests for COPY in PL/pgSQL
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/data/copy1.data | added | +3 −0 |
| src/pl/plpgsql/src/expected/.gitignore | added | +1 −0 |
| src/pl/plpgsql/src/input/plpgsql_copy.source | added | +62 −0 |
| src/pl/plpgsql/src/Makefile | modified | +2 −2 |
| src/pl/plpgsql/src/output/plpgsql_copy.source | added | +89 −0 |
| src/pl/plpgsql/src/sql/.gitignore | added | +1 −0 |
Discussion
- Missing test of SPI copy functionality 4 messages · 2019-11-07 → 2019-11-09