pgsql: Issue ERROR if FREEZE mode can't be honored by COPY - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Issue ERROR if FREEZE mode can't be honored by COPY
Date
Msg-id E1TzAZG-00039p-99@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4deb57de7dcfb66f850f16c0324731fdf3d86d09

Modified Files
--------------
doc/src/sgml/ref/copy.sgml          |   12 ++++--------
src/backend/commands/copy.c         |   32 ++++++++++++++++++++------------
src/test/regress/expected/copy2.out |   18 ++++++++----------
src/test/regress/sql/copy2.sql      |    9 ++++++++-
4 files changed, 40 insertions(+), 31 deletions(-)


pgsql-committers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: pgsql: Allow CREATE TABLE IF EXIST so succeed if the schema is nonexist
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql: Allow CREATE TABLE IF EXIST so succeed if the schema is nonexist