Re: setCatalog() - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: setCatalog()
Date
Msg-id 1049153974.1106.48.camel@inspiron.cramers
Whole thread Raw
In response to Re: setCatalog()  ("Patrik Lundgren" <patrik@mensa.se>)
List pgsql-jdbc
Yes, they connect to each catalog over a seperate conection.

Dave
On Mon, 2003-03-31 at 16:04, Patrik Lundgren wrote:
> But when I use pgAdmin II I can administrate the different catalogs. Are
> you saying that a different connection is created for each catalog?
>
> Regards
>
> --------------------------------------------
>
> Patrik,
>
> It is currently implemented.  Because of how postgres connections work,
> setCatalog is a noop.  In postgres a connection connects to a specific
> database.  There is no way that a connection can be repointed to a
> different database (that would be a different connection).  So
> setCatalog is implemented in the only way that is compatible with the
> postgres architecture.
>
> thanks,
> --Barry
>
>
> Patrik Lundgren wrote:
> > Anyone knows of any plans of implementing the setCatalog method in
> > Connection?
> >
> > Regards,
> > Patrik Lundgren
> >
> >
> > ---------------------------(end of
> > broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/docs/faqs/FAQ.html
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
Dave Cramer <Dave@micro-automation.net>


pgsql-jdbc by date:

Previous
From: "Patrik Lundgren"
Date:
Subject: Re: setCatalog()
Next
From: Jean-Christian Imbeault
Date:
Subject: character coding problems