Re: Proposing COPY .. WITH PERMISSIVE

From: Andres Freund <andres(at)anarazel(dot)de>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: dinesh kumar <dineshkumar02(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposing COPY .. WITH PERMISSIVE
Date: 2015-07-23 15:32:16
Message-ID: 20150723153216.GD27786@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2015-07-23 11:26:27 -0400, Robert Haas wrote:
> On Wed, Jul 22, 2015 at 11:29 PM, dinesh kumar <dineshkumar02(at)gmail(dot)com> wrote:
> > Would like to propose PERMISSIVE mode for the COPY created out files.
> > I mean, at this moment, if do "COPY" as postgres instance owner, i can able
> > to read the file as non instance user as well, and would like to restrict
> > this to
> > instance owner WITH PERMISSIVE option.
> >
> > Let me know your thoughts on this.
>
> I don't understand the proposal.

I understand it as PERMISSIVE := chmod 777 the target file of a COPY TO.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-07-23 15:34:14 Re: Autonomous Transaction is back
Previous Message Robert Haas 2015-07-23 15:26:27 Re: Proposing COPY .. WITH PERMISSIVE