Re: Switching databases over JDBC/ODBC

Поиск
Список
Период
Сортировка
От Bayless Kirtley
Тема Re: Switching databases over JDBC/ODBC
Дата
Msg-id 8268CC4FB4AD4D89B0A1F4EFEF025246@dell2400
обсуждение исходный текст
Ответ на Switching databases over JDBC/ODBC  (Scott Bailey <artacus@comcast.net>)
Список pgsql-general
You can establish a new connection without dropping the old one. Thus you
can be connected to 2 databases at the same time. Just use the appropriate
connection for the database you want.

Bayless

----- Original Message -----
From: "Scott Bailey" <artacus@comcast.net>
To: "pgsql-general" <pgsql-general@postgresql.org>
Sent: Friday, May 29, 2009 6:34 PM
Subject: [GENERAL] Switching databases over JDBC/ODBC


> 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
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Bailey
Дата:
Сообщение: Switching databases over JDBC/ODBC
Следующее
От: Martin Gainty
Дата:
Сообщение: Re: Switching databases over JDBC/ODBC