From: Tom Lane <tgl@sss.pgh.pa.us>
To: wolfgang.graf@ksb.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Move postmater.pid completly
Date: Wed, 18 Jun 2008 12:30:13 -0400
Message-ID: <28495.1213806613@sss.pgh.pa.us> (raw)
In-Reply-To: <OF7C15CB7B.D0501D4B-ONC125746C.003930A3-C125746C.00398DB2@de.ksb.local>
References: <OF7C15CB7B.D0501D4B-ONC125746C.003930A3-C125746C.00398DB2@de.ksb.local>
wolfgang.graf@ksb.com writes:
> is there a way to move the postmaster.pid file
> completely out of the PGDATA directory ?
No, and it's unlikely to be seriously considered, because of the
enormously increased risk of starting two postmasters in the
same directory. All it would take is for them to have different
ideas of where the lock file is.
> Background: we would like to start a postmaster instance on a readonly
> directory to enable a server for readonly operations (SELECT) only.
That won't ever work; the pid file is just the tip of the iceberg.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, wolfgang.graf@ksb.com
Subject: Re: Move postmater.pid completly
In-Reply-To: <28495.1213806613@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox