pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Jessica Richard <rjessil@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: who can tell me the correct syntax to use dblink to talk to a table in another database
Date: Tue, 17 Apr 2007 23:26:14 -0700
Message-ID: <4625BA06.1070703@joeconway.com> (raw)
In-Reply-To: <690701.69296.qm@web56403.mail.re3.yahoo.com>
References: <690701.69296.qm@web56403.mail.re3.yahoo.com>

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%...

HTH,

Joe



view thread (2+ messages)

Message-ID: <4625BA06.1070703@joeconway.com>
Permalink:  ../4625BA06.1070703@joeconway.com/
Also on:    postgresql.org/message-id/4625BA06.1070703@joeconway.com

 · 

reply

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-admin@postgresql.org
  Cc: mail@joeconway.com, rjessil@yahoo.com
  Subject: Re: who can tell me the correct syntax to use dblink to talk to a table in another database
  In-Reply-To: <4625BA06.1070703@joeconway.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