Skip site navigation (1) Skip section navigation (2)

Re: who can tell me the correct syntax to use dblink to talk to a table in another database

From: Joe Conway <mail(at)joeconway(dot)com>
To: Jessica Richard <rjessil(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: who can tell me the correct syntax to use dblink to talk to a table in another database
Date: 2007-04-18 06:26:14
Message-ID: 4625BA06.1070703@joeconway.com (view raw or flat)
Thread:
Lists: pgsql-admin
Jessica Richard wrote:
> I installed the dblink module, run dblink.sql to my current database to 
> use the dblink function, but I have not been successful to select a 
> table from a remote database (cross reference).
> 
> Whoever knows how to use dblink, please show me the syntax to select 
> another table in a remote database. Thanks a lot!

See the documentation that comes with dblink, e.g.:
http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/doc/query?rev=1.5;content-type=text%2Fplain

HTH,

Joe

In response to

pgsql-admin by date

Next:From: Sorin N. CiolofanDate: 2007-04-18 13:48:29
Subject: Re: [GENERAL] Increasing the shared memory
Previous:From: Jeff FrostDate: 2007-04-18 06:03:58
Subject: Re: Checking a size of a given database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group