Re: Switch pg_ctl's default about waiting?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Switch pg_ctl's default about waiting?
Date: 2000-12-07 20:53:27
Message-ID: Pine.LNX.4.30.0012072052370.780-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> Now that the postmaster takes a noticeable amount of time to shut down,
> I'm wondering if pg_ctl's default about whether or not to wait ought
> to be reversed. That is, "-w" would become the norm, and some new
> switch ("-n" maybe) would be needed if you didn't want it to wait.

Two concerns:

1. The waiting isn't very reliable as we recently found out. (If you
wait on shutdown, then wait on startup would be default as well, no?)

2. Why would you necessarily care to wait for shutdown? Startup I can
see, but shutdown doesn't seem so important.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-12-07 21:08:33 Re: Switch pg_ctl's default about waiting?
Previous Message Tom Lane 2000-12-07 20:51:23 Re: v7.1 beta 1 ...packaged, finally ...