postgresql/src
Alvaro Herrera 08146775ac Have \copy go through SendQuery
This enables a bunch of features, notably ON_ERROR_ROLLBACK.  It also
makes COPY failure (either in the server or psql) as a whole behave more
sanely in psql.

Additionally, having more commands in the same command line as COPY
works better (though since psql splits lines at semicolons, this doesn't
matter much unless you're using -c).

Also tighten a couple of switches on PQresultStatus() to add
PGRES_COPY_BOTH support and stop assuming that unknown statuses received
are errors; have those print diagnostics where warranted.

Author: Noah Misch
2012-01-25 18:22:00 -03:00
..
backend Make CheckIndexCompatible simpler and more bullet-proof. 2012-01-25 15:28:07 -05:00
bin Have \copy go through SendQuery 2012-01-25 18:22:00 -03:00
include Allow pg_basebackup from standby node with safety checking. 2012-01-25 18:02:04 +00:00
interfaces Ecpglib stores variables that are used in DECLARE statements in a global list. 2012-01-05 14:08:45 +01:00
makefiles Add pg_upgrade test suite 2011-11-27 22:42:32 +02:00
pl Improve efficiency of recent changes to plperl's sv2cstr(). 2012-01-15 16:15:04 -05:00
port Revert binary change in copyright year adjustment. 2012-01-01 19:40:13 -05:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Have \copy go through SendQuery 2012-01-25 18:22:00 -03:00
timezone Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tools Fix pathname in pgindent README. 2012-01-09 13:31:58 -05:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Sort compendium lists for msgmerge 2011-12-27 20:22:51 +02:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00