Re: Re: [BUGS] syslog logging setup broken? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: [BUGS] syslog logging setup broken?
Date
Msg-id Pine.LNX.4.30.0102061734550.775-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: [BUGS] syslog logging setup broken?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii writes:

> Moreover if postmaster detaches itself to be a deamon, nohup is not
> necessary at all.

Right.  Scrap that thought then.

> BTW, for the startup script, I don't think we need to use pg_ctl.
> Invoking postmaster directry seems enough for me. The only reason for
> using pg_ctl to start postmaster is waiting for postmaster up and
> running.

Waiting for the postmaster to start up is really only useful when you
start it interactively, either during development, or if you need to
repair a problem.  In either of these cases you might as well (and
probably rather should) look at the log output yourself, i.e., just use
'postmaster'.

> In most cases the time to recover DB would not be so
> long. And if the recovery took too long time, we would not want to be
> blocked in the middle of the boot sequence anyway.

Exactly.  No waiting on startup by default then?

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [SQL] PL/PGSQL function with parameters
Next
From: Stephan Szabo
Date:
Subject: Re: ADD CONSTRAINT ... FOREIGN KEY and custom data type.