Remote connections?

From: mlw <markw(at)mohawksoft(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Remote connections?
Date: 2001-12-06 18:28:04
Message-ID: 3C0FB8B4.382C7736@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I just found out something about Oracle which that looks like something
that could be doable in PostgreSQL.

What do you all think:

Oracle's version is something like this:

create [public] database link using [...]

select * from sometable(at)remotelink

I was thinking how this could be done with postgreSQL. How hard would it
be to make something that is similar to a view, but executes a query
remotely? I envision something like this:

create [public] link name query using [...]

The table link will be similar to a view. It could be used like this:

CREATE LINK test as select * from test WITH 'user=postgres host=remote
db=data';

SELECT * from test;

or

SELECT * from fubar join test on (fubar.id = test.id) ;

So, what do you think? Impossible, possible, too hard? too easy?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-12-06 19:31:04 Re: Licensing
Previous Message Doug McNaught 2001-12-06 18:13:18 Re: [BASIC FEATURES] stored procedures in Postgresql ?