postmaster -S will not print an error if pid file exists - Mailing list pgsql-hackers

From Peter Eisentraut
Subject postmaster -S will not print an error if pid file exists
Date
Msg-id Pine.LNX.4.30.0101262000440.769-100000@peter.localdomain
Whole thread Raw
Responses Re: postmaster -S will not print an error if pid file exists
Re: postmaster -S will not print an error if pid file exists
List pgsql-hackers
If a second postmaster is started on a data directory and the second one
uses the -S option it will not print a message but simply exit and not
start a background process.  The exit status is 0.

This seems to have gotten lost in the changes postmaster.c rev. 1.195,
global lock file changes by tgl.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Open 7.1 items
Next
From: Peter Eisentraut
Date:
Subject: Sure enough, the lock file is gone