"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> On Thu, 14 Jun 2001, Tom Lane wrote:
>> How would pg_ctl know what files the postmaster is looking at?
>> Under conditions of messed-up configuration, pg_ctl is likely
>> to be just as confused as the DBA is :-(. I'd rather have a way
>> to get the info from the PM itself.
> The postmaster knows what conf files it is reading, so have it spew
> this info in DataDir/postmaster.opts which is anyway read by 'pg_ctl
> status'.
This info would be reliable exactly to the extent that pg_ctl is looking
at the right DataDir. Which was precisely the problem Frank had ;-)
regards, tom lane