Re: temp tables not dropping at end of script

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: temp tables not dropping at end of script
Date: 2011-04-06 14:55:33
Message-ID: 20110406145533.GF7335@shinkuro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 06, 2011 at 09:12:55AM -0500, Davenport, Julie wrote:

> postgres 8.4 database). When we get the error, if we try to drop
> the table at the command line, it says the table does not exist, yet
> we cannot rerun the script unless we stop and restart the database.

What if you stop your connection? This sounds like under 8.0 you were
closing the connection (thereby ending a session), but that under 8.4
your connection isn't actually closing (so your session remains open,
so the temp table hangs around).

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Relyea, Mike 2011-04-06 15:09:14 Re: temp tables not dropping at end of script
Previous Message Carlos Mennens 2011-04-06 14:53:49 Auto Adjust Age