Re: The last configuration file patch (I hope!) This one - Mailing list pgsql-hackers

From Oliver Elphick
Subject Re: The last configuration file patch (I hope!) This one
Date
Msg-id 1045646139.1253.47.camel@linda.lfix.co.uk
Whole thread Raw
In response to The last configuration file patch (I hope!) This one does it all.  (mlw <pgsql@mohawksoft.com>)
List pgsql-hackers
On Wed, 2003-02-19 at 02:43, mlw wrote:
> PostgreSQL Extended Configuration Patch
...
> --- Run-time process ID ---
> postmaster -R /var/run/postmaster.pid
> 
> This will direct PostgreSQL to write its process ID number
> to a file, /var/run/postgresql.conf
> 
> --- postgresql.conf  options ---
...
> The "-R" option on the command line overrides the
> "runtime_pidfile" in the configuration file.

I raised the possibility of moving the pid file only last week.  Tom
pointed out that it acts as a lock on the database to prevent two
postmasters' trying to manage the same database.  As such it should NOT
be a configurable parameter.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "And the angel answered and said unto the women, Fear      ye not; for I
knowthat ye seek Jesus, who was      crucified. He is not here; for he is risen, as he      said...Therefore be ye also
ready;for in such an hour     as ye think not the Son of man cometh."                                         Matthew
28:5,6;24:44 
 



pgsql-hackers by date:

Previous
From: Dennis Björklund
Date:
Subject: translation stats
Next
From: Teodor Sigaev
Date:
Subject: \copy in Current CVS