X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BD7D6476358 for ; Thu, 24 Apr 2003 12:16:27 -0400 (EDT) Received: from proteus.affordablehost.com (proteus.affordablehost.com [216.46.203.177]) by postgresql.org (Postfix) with SMTP id F2BAA476361 for ; Thu, 24 Apr 2003 12:15:55 -0400 (EDT) Received: (qmail 2288 invoked from network); 24 Apr 2003 16:15:50 -0000 Received: from unknown (HELO Laptop) (66.31.57.228) by proteus.affordablehost.com with SMTP; 24 Apr 2003 16:15:50 -0000 From: Andrew Biagioni To: Tom Lane Cc: pgsql-admin@postgresql.org Date: Thu, 24 Apr 2003 12:15:41 -0400 X-Priority: 3 (Normal) Organization: E-Greek, llc In-Reply-To: <13080.1051190929@sss.pgh.pa.us> Message-Id: <3W312VJEONMLEDVQP0HFYUF0GCMK.3ea80dad@Laptop> Subject: Re: Leftover TEMPORARY tables? MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" X-Mailer: Opera 6.05 build 1140 X-Spam-Status: No, hits=-26.0 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/341 X-Sequence-Number: 8496 4/24/03 9:28:49 AM, Tom Lane wrote: >Andrew Biagioni writes: >> My best estimate as to when they appear is when I abort a transaction in >> PGAdminII by killing the corresponding process on the server ("kill -9 XXXX"), > >Yikes. You're not serious are you? Sorry, forget the " -9 " bit. I only use that when I need to shut down PostgreSQL and some process is not releasing at that time. >That would certainly cause the backend to fail to clean up its temp >tables... not to mention that the postmaster will treat this as a >system crash and force all the other backends to punt too. Not the way >I'd pick to cancel a misbehaving query. With my "kill [procnum]" I don't seem to have any negative side effects, except apparently for the temp tables (I _think_). Does that seem reasonable? >Try something less invasive next time, like kill -INT. > > regards, tom lane Thanks, Andrew