Use, Set Catalog and JDBC questions

Поиск
Список
Период
Сортировка
От Frank Cavaliero
Тема Use, Set Catalog and JDBC questions
Дата
Msg-id OF452CD15F.978F2C6E-ON85257B1D.0063F9C0-85257B1D.00653F7F@us.ibm.com
обсуждение исходный текст
Ответы Re: [GENERAL] Use, Set Catalog and JDBC questions  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-admin
Hi,

I have an application that requires to connect to each database available in PostgreSQL.  I have the following questions:


1.  Is there a USE DATABASE command or something of the sort (similar to MySQL) that allows you to quickly connect to a database without having to reconnect using the username,password and database again ?   In Java, we are using set catalog to do this in MySQL.

2.  Based on #1 above, would the latest JDBC driver support the ability to create this type of connection?


Thanks,
Frank

Database Administrator

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

Предыдущее
От: John Rouillard
Дата:
Сообщение: Re: logging full queries separately
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Use, Set Catalog and JDBC questions