Re: setCatalog() - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: setCatalog()
Date
Msg-id 3E887069.8050006@xythos.com
Whole thread Raw
In response to setCatalog()  ("Patrik Lundgren" <patrik@mensa.se>)
Responses Re: setCatalog()
List pgsql-jdbc
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
>


pgsql-jdbc by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Re: Call pl/sql function
Next
From: "Bill Thomason"
Date:
Subject: Problem with the LargeObjectManager class in 7.2.1 java libraries?