Re: Proposing COPY .. WITH PERMISSIVE - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Proposing COPY .. WITH PERMISSIVE
Date
Msg-id 564939CE.80501@gmx.net
Whole thread Raw
In response to Re: Proposing COPY .. WITH PERMISSIVE  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Responses Re: Proposing COPY .. WITH PERMISSIVE  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 9/2/15 4:19 PM, Stefan Kaltenbrunner wrote:
> maybe - but having a fixed "default"  is very different from baking a
> classic unix permission concept of user/group/world^others into actual
> DDL or into a COPY option. The proposed syntax might make some sense to
> a admin used to a unix style system but it is likely utterly
> incomprehensible to somebody who is used to (windows style) ACLs.
> 
> I dont have a good answer on what to do else atm but I dont think we
> should embedded traditional/historical unix permission models in our
> grammer unless really really needed...

The user can just create a directory with appropriate permissions and
copy the files there.  I don't really see why COPY needs to know about
all this.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pglogical_output - a general purpose logical decoding output plugin
Next
From: Robert Haas
Date:
Subject: Re: Parallel Seq Scan