Re: question about selecting across multiple dbs

From: Joe Conway <mail(at)joeconway(dot)com>
To: Rod Taylor <pg(at)rbt(dot)ca>
Cc: jmaldonado(at)webehosting(dot)biz, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: question about selecting across multiple dbs
Date: 2004-03-08 17:43:03
Message-ID: 404CB0A7.6010607@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor wrote:
> On Mon, 2004-03-08 at 11:57, Joe Maldonado wrote:
>> I see that there is an item "Queries across databases or servers
>> (two-phase commit)" on the todo list's urgent header. I have tried
>> asking this question on the other lists and have not yet gotten a
>> suitable answer to this question...When is this functionality
>> expected to be available in PostgreSQL? I as well as many others
>> want to be able to run queries such as
>
> Cross database selects can be accomplished using contrib/dblink.
>
> It will be some time before cross database writes or locks will be
> possible.

Actually cross database writes can also be done with dblink, but without
2PC, or something similar, it is hard to make it bulletproof.

More to the original point, there is no one (that I'm aware of) actively
working on internal backend cross database functionality such as what
the OP seems to be expecting. There has been discussion on this in the
past (see the mail archives), and there is a SQL2003 spec covering it
(see SQL/MED). Patches would be warmly welcomed ;-). If I don't get beat
to it, I might find the time and interest someday, but there is no
"expected" date of arrival.

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-03-08 17:55:36 Re: Feature request: smarter use of conditional indexes
Previous Message Joe Maldonado 2004-03-08 17:39:45 Re: question about selecting across multiple dbs