| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Issue ERROR if FREEZE mode can't be honored by COPY |
| Date: | 2013-01-26 18:33:30 |
| Message-ID: | E1TzAZG-00039p-99@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2013-01-26 18:39:16 | Re: pgsql: Allow CREATE TABLE IF EXIST so succeed if the schema is nonexist |
| Previous Message | Jaime Casanova | 2013-01-26 18:30:53 | Re: pgsql: Allow CREATE TABLE IF EXIST so succeed if the schema is nonexist |