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

From Bruce Momjian
Subject Re: Connection.setCatalog()
Date
Msg-id 200107211856.f6LIuPI01364@candle.pha.pa.us
Whole thread Raw
In response to Re: Connection.setCatalog()  (jason@netspade.com)
List pgsql-jdbc
Patch applied.  Thanks.

> [[[ 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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-jdbc by date:

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