Re: Shared disk storage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, Peter Nixon <listuser(at)peternixon(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Shared disk storage
Date: 2005-09-07 14:21:34
Message-ID: 27048.1126102894@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Well, if you know any vendors who move postmaster.pid out of the PGDATA
>> directory, let us know so we can knock some sense into their heads.

> I thought Fedora did, but there are actually two files, one in /var/run
> and another in /var/lib/pgsql/data .

Right, we put in the "external_pid_file" option to satisfy people who
wanted something under /var/run ... but Postgres itself makes no use
of that file, we just write it out during postmaster start. The
postmaster.pid file, on the other hand, is a critical safety interlock
to keep two postmasters from starting in the same data directory.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message marcelo Cortez 2005-09-07 14:30:42 psqlodbc don't work on winxp64
Previous Message Dinesh Pandey 2005-09-07 12:57:52 Re: 64 bits?