Re: query a table from one database to another

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: query a table from one database to another
Date: 2010-01-27 16:45:37
Message-ID: 4b606dbf.9613f30a.5b83.0451@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 27, 2010 at 02:52:58PM +0600, AI Rumman wrote:
> I am using Postgresql 8.3
>
> I have two databases:
> db1
> db2
>
> db1 holds a table tab1.
>
> Is it possible to get the value of the above tab1 in db2 database?
>
> Regards

You'll need something like the dblink contrib module to get one database to
talk to another.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-01-27 16:47:21 Re: syntax error during function call
Previous Message Aycock, Jeff R. 2010-01-27 16:41:58 Re: syntax error during function call