Issue ERROR if FREEZE mode can't be honored by COPY
authorBruce Momjian <[email protected]>
Sat, 26 Jan 2013 18:33:24 +0000 (13:33 -0500)
committerBruce Momjian <[email protected]>
Sat, 26 Jan 2013 18:33:24 +0000 (13:33 -0500)
commit4deb57de7dcfb66f850f16c0324731fdf3d86d09
treee72418260ea7649af2da9c9f5e59a2890dca0d79
parent7e2322dff30c04d90c0602d2b5ae24b4881db88b
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.
doc/src/sgml/ref/copy.sgml
src/backend/commands/copy.c
src/test/regress/expected/copy2.out
src/test/regress/sql/copy2.sql