From: Marcin Krawczyk <jankes.mk@gmail.com>
To: Shane Ambler <pgsql@sheeky.biz>
Cc: pgsql-sql@postgresql.org
Subject: Re: connections between servers
Date: Thu, 3 Apr 2008 21:26:52 +0200
Message-ID: <95f6bf9b0804031226h1071afa4l2c24e1103679c45d@mail.gmail.com> (raw)
In-Reply-To: <47F51563.9060108@Sheeky.Biz>
References: <95f6bf9b0804031000r6c582264j83252541a9fb9da9@mail.gmail.com>
<47F51563.9060108@Sheeky.Biz>
Thanks a lot, I'll give it a try.
regards
mk
2008/4/3, Shane Ambler <pgsql@sheeky.biz>:
>
> 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
>
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: jankes.mk@gmail.com, pgsql@sheeky.biz
Subject: Re: connections between servers
In-Reply-To: <95f6bf9b0804031226h1071afa4l2c24e1103679c45d@mail.gmail.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