Re: BUG #4381: Postgresql daemon won't stay in the foreground

From: Tom Wright <tom(dot)c(dot)wright(at)gmail(dot)com>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4381: Postgresql daemon won't stay in the foreground
Date: 2008-08-27 13:15:03
Message-ID: 48B55357.5030401@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-08-27 13:59:11 Re: BUG #4381: Postgresql daemon won't stay in the foreground
Previous Message Gianluca Buttarelli 2008-08-27 13:00:02 BUG #4382: there is an exagerate increase of execution times putting a 'case' condition in this update