Re: About "ERROR: must be *superuser* to COPY to or from a file" - Mailing list pgsql-general

From Tom Lane
Subject Re: About "ERROR: must be *superuser* to COPY to or from a file"
Date
Msg-id 27108.1125458736@sss.pgh.pa.us
Whole thread Raw
In response to Re: About "ERROR: must be *superuser* to COPY to or from a file"  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> Alternatively and actually even better and more secure would be
> passing the fd directly from the client to the server over the socket.

Sure ... on the platforms that support that, for the connection types
for which they support it.  But I think that in the long run we'd regret
inventing any SQL operations whose semantics depend on the transport
mechanism.

            regards, tom lane

pgsql-general by date:

Previous
From: "Gavin M. Roy"
Date:
Subject: Re: Php abstraction layers
Next
From: Alvaro Herrera
Date:
Subject: Re: Planner create a slow plan without an available index