Re: connect to another db

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: connect to another db
Date: 2005-12-07 08:51:46
Message-ID: 20051207085146.GE13724@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

am 07.12.2005, um 8:18:45 +0000 mailte Robert Wimmer folgendes:
> is there any possibility in plpgsql (or from the psql prompt) to retrive
> data from any other PG database. if not is there a (recommended) work
> around for this problem.

You can use dblink (conntrib) or languages like plpgperl to connect to
multiple db.

http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/

A better way is to use only one DB and using schemas.

HTH, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47212, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message operationsengineer1 2005-12-07 09:06:22 Re: PgSQL Initial Questions (before starting project)
Previous Message Robert Wimmer 2005-12-07 08:18:45 connect to another db