From: | Shane Ambler <pgsql(at)Sheeky(dot)Biz> |
---|---|
To: | Marcin Krawczyk <jankes(dot)mk(at)gmail(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: connections between servers |
Date: | 2008-04-03 17:35:31 |
Message-ID: | 47F51563.9060108@Sheeky.Biz |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Marcin Krawczyk wrote:
> Hi all. I was wondering if it's possible for a trigger to perform operations
> on a database on different server? I saw somewhere that there's a piece of
> software that allows conneciotns between different databases, but what about
> different servers? I also thought about using perl, would it be possible to
> connect to different server from within perl trigger?
> Thanks in advance.
>
> regards
> mk
>
Yes it is possible. A PL/Perl trigger is one option you have.
dblink (in contrib) and dbi-link, dblink-tds, oralink and odbclink are
other options at pgfoundry.org depending on your needs.
There was a recent discussion in the general mailing list about this.
http://archives.postgresql.org/pgsql-general/2008-03/msg01343.php
--
Shane Ambler
pgSQL (at) Sheeky (dot) Biz
Get Sheeky @ http://Sheeky.Biz
From | Date | Subject | |
---|---|---|---|
Next Message | chester c young | 2008-04-03 18:13:13 | Re: apparent RI bug |
Previous Message | Stephan Szabo | 2008-04-03 17:31:19 | Re: apparent RI bug |