Re: Switching databases over JDBC/ODBC - Mailing list pgsql-general

From John R Pierce
Subject Re: Switching databases over JDBC/ODBC
Date
Msg-id 4A208ABA.90403@hogranch.com
Whole thread Raw
In response to Re: Switching databases over JDBC/ODBC  (Martin Gainty <mgainty@hotmail.com>)
Responses Re: Switching databases over JDBC/ODBC
List pgsql-general
Martin Gainty wrote:
> does '\connect' work with Type-IV JDBC Database?
> can you effectively 'drop' the first DB connection
> and somehow read a different set of DB parameters to connect to a new DB?

\connect is a psql command, nothing to do with JDBC.

In Java, you would Close() a JDBC connection, then getConnection() to
create a new one.



pgsql-general by date:

Previous
From: Martin Gainty
Date:
Subject: Re: Switching databases over JDBC/ODBC
Next
From: Martin Gainty
Date:
Subject: Re: Switching databases over JDBC/ODBC