Re: Connection.setCatalog()

From: jason(at)netspade(dot)com
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Connection.setCatalog()
Date: 2001-07-19 19:48:45
Message-ID: 7408068.995572125714.JavaMail.jason@www2.kc.aoindustries.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

[[[ Original Message from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> ]]]

> Peter Eisentraut <peter_e(at)gmx(dot)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(String catalog) from my previous diff so it checks whether it is already connected to the specified catalog.

Thanks,

Jason Davies

jason(at)netspade(dot)com

Attachment Content-Type Size
Connection.diff application/octet-stream 4.0 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message jason 2001-07-19 19:56:03 DatabaseMetaData.getColumns() - default values
Previous Message Anders Bengtsson 2001-07-19 14:26:50 Re: [PATCHES] Re: [PATCH] Cleanup of JDBC character encoding