Re: [PATCH] COPY vs \copy HINT

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] COPY vs \copy HINT
Date: 2016-09-06 01:20:22
Message-ID: CAMsr+YGsf9zqdZuiqW2x_MG-KC29DREXRds1yrtFSdYz+oc7Og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5 September 2016 at 16:32, Christoph Berg <myon(at)debian(dot)org> wrote:

> The part about the server permissions might be useful to hint at.

> What about
>
> "COPY TO instructs the PostgreSQL server to write to a file on the server. "
> "You may want a client-side facility such as psql's \\copy."
>
> "COPY FROM instructs the PostgreSQL server to read from a file on the server. "
> "You may want a client-side facility such as psql's \\copy."
>
> This stresses more explicitly that the file is opened by the server
> process. (I'm not particularly happy that it says "server" in there
> twice, but couldn't think of anything else.)

Tom, any preference here?

I'm probably inclined to go for your original wording and accept that
it's just too hard to hint at the client/server process split in a
single short message.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kouhei Kaigai 2016-09-06 01:24:00 Re: PassDownLimitBound for ForeignScan/CustomScan
Previous Message Craig Ringer 2016-09-06 01:10:18 Re: Stopping logical replication protocol