Re: BUG #4381: Postgresql daemon won't stay in the foreground - Mailing list pgsql-bugs

From Tom Wright
Subject Re: BUG #4381: Postgresql daemon won't stay in the foreground
Date
Msg-id 48B55357.5030401@gmail.com
Whole thread Raw
In response to Re: BUG #4381: Postgresql daemon won't stay in the foreground  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Responses Re: BUG #4381: Postgresql daemon won't stay in the foreground
List pgsql-bugs
I'm starting it with "postgres -D <datadir>", and it immediately forks
into the background....

Is there something I can do to trap some debug output for you?

Heikki Linnakangas wrote:
> Tom wrote:
>> I want to run postgres under daemontools, but no matter what I do,
>> postgres
>> will not stay in the foreground... has anyone else seen this or know
>> how to
>> fix it?
>
> How are you starting it then? Just run "postgres -D <datadir>", and it
> will stay in foreground.
>
> PS. this is unlikely a bug. Please use the pgsql-general mailing list
> next time.
>

pgsql-bugs by date:

Previous
From: "Gianluca Buttarelli"
Date:
Subject: BUG #4382: there is an exagerate increase of execution times putting a 'case' condition in this update
Next
From: Tom Lane
Date:
Subject: Re: BUG #4381: Postgresql daemon won't stay in the foreground