Lifespan of temporary table

From: "Mihai Gheorghiu" <tanethq(at)earthlink(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Lifespan of temporary table
Date: 2002-08-06 17:54:51
Message-ID: 001101c23d72$5dcedf80$6e646464@New6.Travel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

It is my understanding from the PG documentation that a temporary table
lasts until the end of the session.
When using jdbc, which one of
Connection con = DriverManager.getConnection(...)
or
PreparedStatement sql = con.prepareStatement(...)
actually opens a connection to the PG server?
What if I'm using poolmanager? When will the table be removed? (Because if
session==connection, con.close() in my servlet just returns the connection
to the pool, but the PG server sees the session still open.)
Thank you all.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Stead 2002-08-06 18:03:45 Re: aggregate functions and timestamps in JDBC, possible bug?
Previous Message Dave Cramer 2002-08-06 17:54:47 Re: Lifespan of temporary table