Lifespan of temporary table - Mailing list pgsql-jdbc

From Mihai Gheorghiu
Subject Lifespan of temporary table
Date
Msg-id 001101c23d72$5dcedf80$6e646464@New6.Travel
Whole thread Raw
Responses Re: Lifespan of temporary table  (Dave Cramer <Dave@micro-automation.net>)
List 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.


pgsql-jdbc by date:

Previous
From: "Mark Proctor"
Date:
Subject: Clob Blob Status
Next
From: Dave Cramer
Date:
Subject: Re: Lifespan of temporary table