From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert M. Meyer <rmeyer@installs.com>
Cc: nickf@ontko.com, pgsql-jdbc <pgsql-jdbc@postgresql.org>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Leftover processes on shutdown - Debian+JDBC
Date: Tue, 13 Aug 2002 12:50:19 -0400
Message-ID: <27126.1029257419@sss.pgh.pa.us> (raw)
In-Reply-To: <1029256582.28282.38.camel@skymaster>
References: <NEBBLAAHGLEEPCGOBHDGCENJFIAA.nickf@ontko.com>
<1029252347.28282.15.camel@skymaster>
<26784.1029255629@sss.pgh.pa.us>
<1029256582.28282.38.camel@skymaster>
"Robert M. Meyer" <rmeyer@installs.com> writes:
> Hmmm... You're right. How much longer does a '-m fast' take. The
> reason I ask is because during a server shutdown, init doesn't wait
> around long after the script exits. The problem with not using the '-m'
> is that pg_ctl returns quickly but the DB may not be down, causing the
> system to pull the rug out from under it.
(a) The solution to that is to use the -w option to pg_ctl, no?
(b) -m immediate is just as dangerous as letting the system pull the
rug out. Probably more so, as the system is unlikely to get around to
killing Postgres before we've had a chance to flush shared buffers.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, rmeyer@installs.com, pgsql-jdbc@postgresql.org
Subject: Re: Leftover processes on shutdown - Debian+JDBC
In-Reply-To: <27126.1029257419@sss.pgh.pa.us>
References: <NEBBLAAHGLEEPCGOBHDGCENJFIAA.nickf@ontko.com> <1029252347.28282.15.camel@skymaster> <26784.1029255629@sss.pgh.pa.us> <1029256582.28282.38.camel@skymaster> <27126.1029257419@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox