X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B4A7247580B for ; Wed, 19 Feb 2003 20:32:01 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 11061-06 for ; Wed, 19 Feb 2003 20:31:50 -0500 (EST) Received: from mta7.adelphia.net (unknown [64.8.50.193]) by postgresql.org (Postfix) with ESMTP id 837AF475F25 for ; Wed, 19 Feb 2003 20:11:31 -0500 (EST) Received: from bingo ([68.70.98.78]) by mta7.adelphia.net (InterMail vM.5.01.05.25 201-253-122-126-125-20021216) with ESMTP id <20030220011134.RPZI17939.mta7.adelphia.net@bingo>; Wed, 19 Feb 2003 20:11:34 -0500 Content-Type: text/plain; charset="utf-8" From: "Ed L." To: Tom Lane , "Ed L." , Laurette Cisneros Subject: Re: server won't shutdown Date: Wed, 19 Feb 2003 18:11:33 -0700 User-Agent: KMail/1.4.3 Cc: pgsql-admin@postgresql.org References: <17332.1045534368@sss.pgh.pa.us> <20307.1045537577@sss.pgh.pa.us> In-Reply-To: <20307.1045537577@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302191811.33796.pgsql@bluepolka.net> X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/324 X-Sequence-Number: 7522 On Monday February 17 2003 8:06, Tom Lane wrote: > > Attached is the fix against 7.3 (or CVS tip). The same bug exists > in 7.2 and 7.1, and should be fixable by the same patch (possibly > with some fuzz). > > You can demonstrate the problem by doing 'LISTEN foo' in one psql > and then 'NOTIFY foo' in another, then attempting a fast shutdown > --- the first psql's backend will ignore you until the psql session > does something. The same path can be followed without LISTEN if the > first psql is simply left idle while the second one does a bunch of > catalog-updating work (a few cycles of VACUUM ANALYZE usually > suffice). I have verified this fixed the problem on 7.2.4 in the case of the=20 latter VACUUM ANALYZE example, and will test it also against 7.3.2=20 before too long. Thanks again, Tom. Ed