postgresql/src
Tom Lane 4f405c8ef4 Add a HINT for client-vs-server COPY failure cases.
Users often get confused between COPY and \copy and try to use client-side
paths with COPY.  The server then cannot find the file (if remote), or sees
a permissions problem (if local), or some variant of that.  Emit a hint
about this in the most common cases.

In future we might want to expand the set of errnos for which the hint
gets printed, but be conservative for now.

Craig Ringer, reviewed by Christoph Berg and Tom Lane

Discussion: <CAMsr+YEqtD97qPEzQDqrCt5QiqPbWP_X4hmvy2pQzWC0GWiyPA@mail.gmail.com>
2016-09-06 23:55:55 -04:00
..
backend Add a HINT for client-vs-server COPY failure cases. 2016-09-06 23:55:55 -04:00
bin Repair whitespace in initdb message. 2016-09-06 13:26:43 -04:00
common Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
fe_utils Teach appendShellString() to not quote strings containing "-". 2016-09-06 14:53:31 -04:00
include Add location field to DefElem 2016-09-06 12:00:00 -04:00
interfaces Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Improve memory management for PL/Perl functions. 2016-08-31 19:54:58 -04:00
port Simplify correct use of simple_prompt(). 2016-08-30 17:02:02 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Make locale-dependent regex character classes work for large char codes. 2016-09-05 17:06:29 -04:00
timezone Add regression test coverage for non-default timezone abbreviation sets. 2016-09-04 20:02:16 -04:00
tools Remove vestigial references to "zic" in favor of "IANA database". 2016-09-04 19:42:08 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore
DEVELOPERS
Makefile Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Provide and use a makefile target to build all generated headers. 2016-07-01 15:09:02 -04:00
Makefile.shlib Make the AIX case of Makefile.shlib safe for parallel make. 2016-07-23 20:30:03 -04:00
bcc32.mak
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak