Search Postgresql Archives

Re: temporary tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Orhan wrote:
The PostgreSQL docs say that "Temporary tables are automatically
dropped at the end of a session, or optionally at the end of the
current transaction." If I create a temporary table through a
java.sql.Statement and then call close() on that Statement, will the
temporary table be dropped? In other words, does a java.sql.Statement
carry its own "session"?

A session is from connection to disconnect.

--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux