From: | "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in> |
---|---|
To: | hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] One SQL to access two databases. |
Date: | 2002-12-02 11:28:52 |
Message-ID: | 3DEB914C.4597.B02C652@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 2 Dec 2002 at 12:05, Karel Zak wrote:
> On Sat, Nov 30, 2002 at 01:11:20PM -0800, Joe Conway wrote:
> > As I said, this is all very preliminary; comments, suggestions, requests
> > are all welcome.
> Only idea/dream: what implement dblink as "virtual" schema.
> CREATE SCHEMA myschema AS DBLINK TO ... some connection options ...;
> SELECT * FROM myschema.tabname;
> This solution allows use dblink as really transparent.
Well, that is an excellent solution but I want to suggest a further
modification..
How would you select from a table in certain schema in remote database? i.e.
does current implementation supports nested schemas?
Like select * from remotedb.schemaa.tablea will work?
If it does, this might be the best transparency we could ever get..
Bye
Shridhar
--
pension: A federally insured chain letter.
From | Date | Subject | |
---|---|---|---|
Next Message | Jan-Philipp 'Thefly' Reining | 2002-12-02 12:56:30 | Re: The old "not using index" question |
Previous Message | Diogo Biazus | 2002-12-02 11:26:36 | Portuguese translation of the press release |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2002-12-02 11:35:31 | Re: 7.4 Wishlist |
Previous Message | Karel Zak | 2002-12-02 11:26:12 | Re: 7.4 Wishlist |