Re: Security implications of config-file-location patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Security implications of config-file-location patch
Date
Msg-id 28615.1097341912@sss.pgh.pa.us
Whole thread Raw
In response to Re: Security implications of config-file-location patch  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Security implications of config-file-location patch
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> As of CVS tip, if you are using the config-file-location-changing
>> features, anybody can find out the data directory location via
>> "show pgdata";

> Btw., couldn't we come up with a more descriptive parameter name than 
> "pgdata"?

Sure.  Actually it was just bothering me that "-c pgdata" didn't mean
quite the same thing as setting PGDATA in the environment.  Do you like
"data_dir" or "data_directory" for the GUC variable?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: SQL-Invoked Procedures for 8.1
Next
From: Peter Eisentraut
Date:
Subject: Re: Notes on config-file-locations patch