Re: file-locking and postmaster.pid - Mailing list pgsql-hackers

From Tom Lane
Subject Re: file-locking and postmaster.pid
Date
Msg-id 2445.1148507160@sss.pgh.pa.us
Whole thread Raw
In response to Re: file-locking and postmaster.pid  (korry <korry@appx.com>)
Responses Re: file-locking and postmaster.pid  (korry <korry@appx.com>)
List pgsql-hackers
korry <korry@appx.com> writes:
> What we currently have in place is not bulletproof.

Well, it fails in the safe direction: the postmaster may occasionally
refuse to start when it should, but it won't ever start when it should
not.  It appears to me that anything relying on file locking will tend
to fail in the other direction, and that's not acceptable IMHO.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Compression and on-disk sorting
Next
From: Reini Urban
Date:
Subject: Re: compiling source code!!!!!!!!!!!!!!!!!!!!!!!!!!!!!