Re: cross-db queries (was Are we losing momentum?)

From: Rob Butler <robert(dot)butler5(at)verizon(dot)net>
To: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cross-db queries (was Are we losing momentum?)
Date: 2003-04-16 15:31:04
Message-ID: 20030416153104.MHT28543.out003.verizon.net@out003
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>
> On Wednesday 16 April 2003 19:40, Rob Butler wrote:
> > a) create remoteview ... (all necessary information about remote machine
> > and query) b) create view [local | remote] .... (necessary info)
> > c) create view remote-server.schema.table (necessary info)
>
> That is not a good way. Oracle does/recommends a create synonym so that either
> a remote view or table can be treated as if it is a loacl table/view. This
> takes care of select/insert/update/delete etc. I think that is a better way
> of integrating remote objects in current database.
>
It may not be the "best" solution, but it is one that is possible to use now (if you don't want atomic remote updates) or could be done with atomic remote updates relatively soon.

It is similar to the way MS-SQL works. And, once setup the local and remote tables all look the same to the client application. I think that is important.

Later
Rob

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rob Butler 2003-04-16 15:33:25 Many comments (related to "Are we losing momentum?")
Previous Message Tom Lane 2003-04-16 15:22:22 Re: pg_clog woes with 7.3.2 - Episode 2