Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5D91D4758F3 for ; Fri, 9 Aug 2002 12:31:05 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id B462F4754A7 for ; Fri, 9 Aug 2002 12:31:04 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g79GV9Vk004031; Fri, 9 Aug 2002 12:31:09 -0400 (EDT) To: Andrew Sullivan Cc: pgsql-admin@postgresql.org Subject: Re: What to do about a vacuum... In-reply-to: <20020809113651.A7239@mail.libertyrms.com> References: <1028899472.28130.4.camel@skymaster> <418.1028900838@sss.pgh.pa.us> <1028905179.28137.7.camel@skymaster> <1131.1028906406@sss.pgh.pa.us> <20020809113651.A7239@mail.libertyrms.com> Comments: In-reply-to Andrew Sullivan message dated "Fri, 09 Aug 2002 11:36:51 -0400" Date: Fri, 09 Aug 2002 12:31:09 -0400 Message-ID: <4030.1028910669@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/96 X-Sequence-Number: 5211 Andrew Sullivan writes: > On Fri, Aug 09, 2002 at 11:20:06AM -0400, Tom Lane wrote: >> You sure you sigint'ed the right process? I can't see that VACUUM could >> take more than a few seconds to respond to a cancel --- it checks before >> moving onto each new page. > Will vacuum respond to SIGINT if it's blocked waiting for a > transaction to commit? I believe so --- that's just a special case of waiting for a lock, and SIGINT should be able to interrupt anything that's waiting for a lock. regards, tom lane