Re: Directory/File Access Permissions for COPY and Generic File Access Functions - Mailing list pgsql-hackers

From Adam Brightwell
Subject Re: Directory/File Access Permissions for COPY and Generic File Access Functions
Date
Msg-id CAKRt6CR+eJrwfsHrPpxzB14jCGvS9O4KZZO+78NY92BJ-tccSg@mail.gmail.com
Whole thread Raw
In response to Re: Directory/File Access Permissions for COPY and Generic File Access Functions  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Directory/File Access Permissions for COPY and Generic File Access Functions
List pgsql-hackers
Robert,
 
To articular my own concerns perhaps a bit better, there are two major
things I don't like about the whole DIRALIAS proposal.  Number one,
you're creating this SQL object whose name is not actually used for
anything other than manipulating the alias you created.  The users are
still operating on pathnames.  That's awfully strange.

That's an interesting point and I don't disagree that it seems a little strange.  However, isn't this approach similar if not the same (other than operating on path names) as with some other objects, specifically rules and policies?

-Adam


--

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Directory/File Access Permissions for COPY and Generic File Access Functions
Next
From: Adam Brightwell
Date:
Subject: Re: Directory/File Access Permissions for COPY and Generic File Access Functions