Re: Connection.setCatalog() - Mailing list pgsql-jdbc

From jason@netspade.com
Subject Re: Connection.setCatalog()
Date
Msg-id 7408068.995572125714.JavaMail.jason@www2.kc.aoindustries.com
Whole thread Raw
In response to Connection.setCatalog()  (jason@netspade.com)
Responses Re: Connection.setCatalog()
Re: Connection.setCatalog()
List pgsql-jdbc
[[[ Original Message from Tom Lane <tgl@sss.pgh.pa.us> ]]]

> Peter Eisentraut <peter_e@gmx.net> writes:
> > Tom Lane writes:
> >> Peter E. has previously commented that Postgres databases correspond
> >> most closely to the SQL concept of "catalog cluster", not "catalog".
>
> > I most certainly did not.  According to my interpretation:
>
> I sit corrected.  If you want to define catalog == database, okay with
> me.
>
>             regards, tom lane

Great, here is a context diff of CVS for implementing the get/setCatalog methods in Connection - note: I've updated
setCatalog(Stringcatalog) from my previous diff so it checks whether it is already connected to the specified catalog. 

Thanks,

Jason Davies

jason@netspade.com

Attachment

pgsql-jdbc by date:

Previous
From: Anders Bengtsson
Date:
Subject: Re: [PATCHES] Re: [PATCH] Cleanup of JDBC character encoding
Next
From: jason@netspade.com
Date:
Subject: DatabaseMetaData.getColumns() - default values