Re: setCatalog()

Поиск
Список
Период
Сортировка
От Patrik Lundgren
Тема Re: setCatalog()
Дата
Msg-id 000c01c2f7c9$1bfb81f0$0300a8c0@energy
обсуждение исходный текст
Ответ на Re: setCatalog()  (Barry Lind <blind@xythos.com>)
Ответы Re: setCatalog()
Список pgsql-jdbc
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

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Bill Thomason"
Дата:
Сообщение: Problem with the LargeObjectManager class in 7.2.1 java libraries?
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: setCatalog()