postmaster -S will not print an error if pid file exists

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: postmaster -S will not print an error if pid file exists
Date: 2001-01-26 19:04:08
Message-ID: Pine.LNX.4.30.0101262000440.769-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-01-26 20:15:47 Re: Re: [JDBC] Open 7.1 items
Previous Message Tom Lane 2001-01-26 18:54:40 Re: Open 7.1 items