Re: The last configuration file patch (I hope!) This one

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: mlw <pgsql(at)mohawksoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patchesr(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: The last configuration file patch (I hope!) This one
Date: 2003-02-19 09:15:39
Message-ID: 1045646139.1253.47.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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(dot)Elphick(at)lfix(dot)co(dot)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 know that 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2003-02-19 11:00:03 \copy in Current CVS
Previous Message Ryan Bradetich 2003-02-19 08:10:53 Re: Questions about indexes?

Browse pgsql-patches by date

  From Date Subject
Next Message Chisel Wright 2003-02-19 11:52:39 Re: postgres error reporting
Previous Message Tom Lane 2003-02-19 07:00:32 Re: implement query_start for pg_stat_activity