Lifespan of temporary table

Поиск
Список
Период
Сортировка
От Mihai Gheorghiu
Тема Lifespan of temporary table
Дата
Msg-id 001101c23d72$5dcedf80$6e646464@New6.Travel
обсуждение исходный текст
Ответы Re: Lifespan of temporary table
Список 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 по дате отправления:

Предыдущее
От: "Mark Proctor"
Дата:
Сообщение: Clob Blob Status
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Lifespan of temporary table