Re: Leftover TEMPORARY tables?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Biagioni <andrew(dot)biagioni(at)e-greek(dot)net>
Cc: jboes(at)nexcerpt(dot)com (Jeff Boes), pgsql-admin(at)postgresql(dot)org
Subject: Re: Leftover TEMPORARY tables?
Date: 2003-04-24 13:28:49
Message-ID: 13080.1051190929@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Andrew Biagioni <andrew(dot)biagioni(at)e-greek(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Boes 2003-04-24 13:40:06 Re: Leftover TEMPORARY tables?
Previous Message Andrew Biagioni 2003-04-24 13:14:30 Re: Leftover TEMPORARY tables?