Switching databases over JDBC/ODBC

From: Scott Bailey <artacus(at)comcast(dot)net>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Switching databases over JDBC/ODBC
Date: 2009-05-29 23:34:31
Message-ID: 4A207107.90005@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there an equivalent to psql's \connect database or MySQL/MS SQL's use
database command that will work with JDBC? It doesn't seem like I should
need to drop the connection and establish a new one just to switch
databases.

Scott

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bayless Kirtley 2009-05-29 23:43:22 Re: Switching databases over JDBC/ODBC
Previous Message Postgres User 2009-05-29 22:40:14 SQL to return all function parameters- its working