| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Use, Set Catalog and JDBC questions |
| Date: | 2013-02-25 18:29:03 |
| Message-ID: | 512BAD6F.6020800@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general |
On 2/25/2013 10:22 AM, Frank Cavaliero wrote:
> 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.
no, there isn't. you have to connect to the database. mysql's
databases are in many ways equivalent to postgres' 'schemas' within a
single database (you can move between schemas with SET SEARCH_PATH=...).
--
john r pierce 37N 122W
somewhere on the middle of the left coast
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2013-02-25 18:34:02 | Re: [GENERAL] Use, Set Catalog and JDBC questions |
| Previous Message | Frank Cavaliero | 2013-02-25 18:22:54 | Use, Set Catalog and JDBC questions |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2013-02-25 18:34:02 | Re: [GENERAL] Use, Set Catalog and JDBC questions |
| Previous Message | Russell Keane | 2013-02-25 18:27:23 | Re: Reading an OUT parameter out of a function call |