From: Richard Huxton <dev@archonet.com>
To: mohammad izwan ibrahim <izwan@orenda.com.my>
Cc: pgsql-sql@postgresql.org
Subject: Re: accessing multiple database
Date: Thu, 05 May 2005 10:21:37 +0100
Message-ID: <4279E5A1.6050103@archonet.com> (raw)
In-Reply-To: <200505050909.j4599Ml4023684@smp.orenda.com.my>
References: <200505050909.j4599Ml4023684@smp.orenda.com.my>
mohammad izwan ibrahim wrote:
> Hi Richard Huxton, Tq for your advice, Hope you can help me on this
>
> 1.can I create view from dblink query
I believe so - see the dblink docs for details.
> 2.can I fetch the data simultaneous from multiple database using
> dblink function, how the syntax would be?
Not in one function-call, but I don't see why you couldn't have several
sub-queries, each to a different database. I recommend testing it to see.
--
Richard Huxton
Archonet Ltd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dev@archonet.com, izwan@orenda.com.my
Subject: Re: accessing multiple database
In-Reply-To: <4279E5A1.6050103@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox