pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Biagioni <andrew.biagioni@e-greek.net>
Cc: jboes@nexcerpt.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Leftover TEMPORARY tables?
Date: Thu, 24 Apr 2003 09:28:49 -0400
Message-ID: <13080.1051190929@sss.pgh.pa.us> (raw)
In-Reply-To: <NH32214MGR97UQYS08GF7564RM06.3ea7e336@Laptop>
References: <NH32214MGR97UQYS08GF7564RM06.3ea7e336@Laptop>

Andrew Biagioni <andrew.biagioni@e-greek.net> 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?

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.

Try something less invasive next time, like kill -INT.

			regards, tom lane




view thread (11+ messages)  latest in thread

Message-ID: <13080.1051190929@sss.pgh.pa.us>
Permalink:  ../13080.1051190929@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13080.1051190929@sss.pgh.pa.us

 · 

reply

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, andrew.biagioni@e-greek.net, jboes@nexcerpt.com
  Subject: Re: Leftover TEMPORARY tables?
  In-Reply-To: <13080.1051190929@sss.pgh.pa.us>
  References: <NH32214MGR97UQYS08GF7564RM06.3ea7e336@Laptop> <13080.1051190929@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