Re: proposal: psql \setfileref - Mailing list pgsql-hackers

From Robert Haas
Subject Re: proposal: psql \setfileref
Date
Msg-id CA+Tgmob=3MBBsQQEFmU0e1kQW8kyqe2_h_qZvzBgkSwLhSHq3A@mail.gmail.com
Whole thread Raw
In response to Re: proposal: psql \setfileref  (Gilles Darold <gilles@darold.net>)
Responses Re: proposal: psql \setfileref  (Gilles Darold <gilles.darold@dalibo.com>)
List pgsql-hackers
On Mon, Oct 3, 2016 at 3:54 PM, Gilles Darold <gilles@darold.net> wrote:
> 4) An other problem is that like this this patch will allow anyone to upload into a
> column the content of any system file that can be read by postgres system user
> and then allow non system user to read its content.

I thought this was a client-side feature, so that it would let a
client upload any file that the client can read, but not things that
can only be read by the postgres system user.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: asynchronous execution
Next
From: Gilles Darold
Date:
Subject: Re: proposal: psql \setfileref