Re: temp tables not dropping at end of script

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

On Wed, Apr 06, 2011 at 10:47:55AM -0500, Davenport, Julie wrote:
> We've never explicitly closed the connection, it just seemed to close automatically when the coldfusion script ended. Not sure how I would even do that from a script since this is run automatically, not from the command line. Other than putting a quit inside a cfquery tag?

Is it possible that the older driver closed automatically?

Anyway, you could set a savepoint, try to create the temp table, and
then rollback to savepoint if it doesn't work or else continue if it
does.

A

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-04-06 16:05:35 Re: adding years to a date field
Previous Message Christine Penner 2011-04-06 15:54:52 adding years to a date field