From: Adrian Klaver <adrian.klaver@gmail.com>
To: Frank Cavaliero <fcavalie@us.ibm.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [GENERAL] Use, Set Catalog and JDBC questions
Date: Mon, 25 Feb 2013 10:34:02 -0800
Message-ID: <512BAE9A.2000401@gmail.com> (raw)
In-Reply-To: <OF452CD15F.978F2C6E-ON85257B1D.0063F9C0-85257B1D.00653F7F@us.ibm.com>
References: <OF452CD15F.978F2C6E-ON85257B1D.0063F9C0-85257B1D.00653F7F@us.ibm.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On 02/25/2013 10:22 AM, Frank Cavaliero wrote:
> 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?
Not sure if this will do what want?:
http://jdbc.postgresql.org/documentation/91/datasource.html#ds-intro>
>
> Thanks,
> Frank
>
> /Database Administrator/
>
--
Adrian Klaver
adrian.klaver@gmail.com
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: adrian.klaver@gmail.com, fcavalie@us.ibm.com, pgsql-general@postgresql.org
Subject: Re: [GENERAL] Use, Set Catalog and JDBC questions
In-Reply-To: <512BAE9A.2000401@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox