Re: setCatalog()

From: Barry Lind <blind(at)xythos(dot)com>
To: Patrik Lundgren <patrik(at)mensa(dot)se>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setCatalog()
Date: 2003-03-31 16:44:25
Message-ID: 3E887069.8050006@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bill Thomason 2003-03-31 17:50:04 Problem with the LargeObjectManager class in 7.2.1 java libraries?
Previous Message John Laban 2003-03-31 13:13:02 Re: JDBC with SSL