Re: connect to another db
От | Robert Wimmer |
---|---|
Тема | Re: connect to another db |
Дата | |
Msg-id | BAY109-F2EC7D2BDE681EF16756C6D0430@phx.gbl обсуждение исходный текст |
Ответ на | Re: connect to another db ("A. Kretschmer" <andreas.kretschmer@schollglas.com>) |
Ответы |
Re: connect to another db
Re: connect to another db |
Список | pgsql-novice |
hi, a schema wouldnt help. i have to import data from a different PG db.dblink would be the right choice, but i think i need a NIX OS to install it ? PG runs on windows in the company I work for... is the perl solution available on windows ? i think there is no plperl installed on windows. Postgres 8.0 Windows XP Professional regards and thanks fo the prompt response >From: "A. Kretschmer" <andreas.kretschmer@schollglas.com> >To: pgsql-novice@postgresql.org >Subject: Re: [NOVICE] connect to another db >Date: Wed, 7 Dec 2005 09:51:46 +0100 > >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 === > >---------------------------(end of broadcast)--------------------------- >TIP 6: explain analyze is your friend
В списке pgsql-novice по дате отправления: