Alvaro Herrera pointed out that pg_read_file requires superuser access which
these users won't have so revoking access to the function code should be
possible.

Joshua D. Drake suggested revoking pg_proc but that isn't the source code,
it just has the definition of the functions.  

If it isn't a feature today, what table has the source code in it?  Maybe I
can revoke that.


Jon
> -----Original Message-----
> From: Jonah H. Harris [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 14, 2007 3:04 PM
> To: Bill Moran
> Cc: Joshua D. Drake; Roberts, Jon; pgsql-performance@postgresql.org
> Subject: Re: [PERFORM] viewing source code
> 
> On Dec 14, 2007 2:03 PM, Bill Moran <[EMAIL PROTECTED]>
> wrote:
> > I disagree here.  If they're connecting remotely to PG, they have no
> > direct access to the disk.
> 
> pg_read_file?
> 
> --
> Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
> EnterpriseDB Corporation                | fax: 732.331.1301
> 499 Thornall Street, 2nd Floor          | [EMAIL PROTECTED]
> Edison, NJ 08837                        | http://www.enterprisedb.com/

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to