Re: Idea about fixing the lockfile issues in postgresql.init - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Idea about fixing the lockfile issues in postgresql.init
Date
Msg-id 2378.1096922977@sss.pgh.pa.us
Whole thread Raw
In response to Re: Idea about fixing the lockfile issues in postgresql.init  (Andrew Hammond <ahammond@ca.afilias.info>)
List pgsql-hackers
Andrew Hammond <ahammond@ca.afilias.info> writes:
> This seems very complicated. Why not simply delete the lock files as an
> earlier part of the boot process?

Primarily because it's not very reasonable to expect rc.sysinit to know
all the places where Postgres data directories might be hiding.  I'd
push for that solution myself if we only intended to support one
postmaster per machine, but in a multi-postmaster situation things get
complicated.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Hammond
Date:
Subject: Re: Idea about fixing the lockfile issues in postgresql.init
Next
From: Reini Urban
Date:
Subject: cygwin test package available