Issue ERROR if FREEZE mode can't be honored by COPY
Bruce Momjian <bruce@momjian.us>
Issue ERROR if FREEZE mode can't be honored by COPY Previously non-honored FREEZE mode was ignored. This also issues an appropriate error message based on the cause of the failure, per suggestion from Tom. Additional regression test case added.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/copy.sgml | modified | +4 −8 |
| src/backend/commands/copy.c | modified | +20 −12 |
| src/test/regress/expected/copy2.out | modified | +8 −10 |
| src/test/regress/sql/copy2.sql | modified | +8 −1 |