aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-09-06 23:55:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-09-06 23:55:55 -0400
commit4f405c8ef4704b7fa7fd8ac14a66c5f5d13722c4 (patch)
tree8191c0e40a4d86f330c05d9da2478ac8690d56ee /src/backend/access/gist/gistvacuum.c
parent49eb0fd0972d14014dd3533b1f1bf8c94c899883 (diff)
downloadpostgresql-4f405c8ef4704b7fa7fd8ac14a66c5f5d13722c4.tar.gz
postgresql-4f405c8ef4704b7fa7fd8ac14a66c5f5d13722c4.zip
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>
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions