Обсуждение: DB Links in Postgres?

Поиск
Список
Период
Сортировка

DB Links in Postgres?

От
"Tomeh, Husam"
Дата:
The use of Dblink would be very helpful in our application. From my
research so far, I found that PostgreSQL does not support DB links.
Could you confirm? And if true, is that something on the todo list.
Also, how stable is the code in the contrib/ to use in production
environments. Is code in contrib stable and matured? And what makes
certain code candidate to be in contrib? (The reason I'm asking is that
I found that there's dblink code in contrib/dblink)..


Thanks in advance,


--
 Husam Tomeh


---------------------------(end of broadcast)---------------------------
TIP 1: 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
**********************************************************************
This message contains confidential information intended only for the
use of the addressee(s) named above and may contain information that
is legally privileged.  If you are not the addressee, or the person
responsible for delivering it to the addressee, you are hereby
notified that reading, disseminating, distributing or copying this
message is strictly prohibited.  If you have received this message by
mistake, please immediately notify us by replying to the message and
delete the original message immediately thereafter.

Thank you.                                       FADLD Tag
**********************************************************************


Re: DB Links in Postgres?

От
Bruce Momjian
Дата:
Tomeh, Husam wrote:
> The use of Dblink would be very helpful in our application. From my
> research so far, I found that PostgreSQL does not support DB links.
> Could you confirm? And if true, is that something on the todo list.
> Also, how stable is the code in the contrib/ to use in production
> environments. Is code in contrib stable and matured? And what makes
> certain code candidate to be in contrib? (The reason I'm asking is that
> I found that there's dblink code in contrib/dblink)..

dblink is the only way we currently have to do cross-database queries.
/contrib is as good as the main code in many cases.  Of course, _good_
is a relative term.  :-)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: DB Links in Postgres?

От
Bruce Momjian
Дата:
Bruce Momjian wrote:
> Tomeh, Husam wrote:
> > The use of Dblink would be very helpful in our application. From my
> > research so far, I found that PostgreSQL does not support DB links.
> > Could you confirm? And if true, is that something on the todo list.
> > Also, how stable is the code in the contrib/ to use in production
> > environments. Is code in contrib stable and matured? And what makes
> > certain code candidate to be in contrib? (The reason I'm asking is that
> > I found that there's dblink code in contrib/dblink)..
>
> dblink is the only way we currently have to do cross-database queries.
> /contrib is as good as the main code in many cases.  Of course, _good_
> is a relative term.  :-)

The short answer is that dblink is regularly used in production, as is
most of /contrib and PostgreSQL itself.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073