pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: Sumaya <sumaya@silvermoongroup.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: Multiple databases
Date: Wed, 16 Apr 2008 09:01:02 -0300
Message-ID: <4805EA7E.4010009@fmed.uba.ar> (raw)
In-Reply-To: <000601c89f8f$7741f490$0f02000a@sumayavm>
References: <000601c89f8f$7741f490$0f02000a@sumayavm>

Sumaya wrote:

>Hi,
>
>I am converting sql code from sql server to postgresql.  Data is currently being retrieved from multiple databases, how do I do this using postgresql.  I have tried using eg. select * from datbasename.tablename but this does not work.  Any ideas?
>
>Thanks,
>Sumaya
>  
>
Are you saying that you want a particular function stored in say 
database A to be able to retrieve some data from dabatase X?
If that so, you may take a look to the dblink contrib package.

Gerardo



view thread (9+ messages)

Message-ID: <4805EA7E.4010009@fmed.uba.ar>
Permalink:  ../4805EA7E.4010009@fmed.uba.ar/
Also on:    postgresql.org/message-id/4805EA7E.4010009@fmed.uba.ar

 · 

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-sql@postgresql.org
  Cc: gherzig@fmed.uba.ar, sumaya@silvermoongroup.com
  Subject: Re: Multiple databases
  In-Reply-To: <4805EA7E.4010009@fmed.uba.ar>

* 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