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

From Tom Lane
Subject Re: file-locking and postmaster.pid
Date
Msg-id 12640.1148566241@sss.pgh.pa.us
Whole thread Raw
In response to Re: file-locking and postmaster.pid  (Andreas Joseph Krogh <andreak@officenet.no>)
List pgsql-hackers
Andreas Joseph Krogh <andreak@officenet.no> writes:
> What I don't get is why everybody think that because one solution doesn't fit 
> all needs on all platforms(or NFS), it shouldn't be implemented on those 
> platforms it *does* work on.

(1) Because we're not really interested in supporting multiple fundamentally
different approaches to postmaster interlocking.  The system is
complicated enough already.

(2) Because according to discussion so far, we can't rely on this "solution"
anywhere.  Postgres can't easily tell whether its data directory is
mounted over NFS, for example.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem with PQsendQuery/PQgetResult and COPY FROM statement
Next
From: Tom Lane
Date:
Subject: Re: Rename standard_conforming_strings to standard_strings