pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
connections between servers
3+ messages / 2 participants
[nested] [flat]

* connections between servers
@ 2008-04-03 17:00 Marcin Krawczyk <jankes.mk@gmail.com>
  2008-04-03 17:35 ` Re: connections between servers Shane Ambler <pgsql@Sheeky.Biz>
  0 siblings, 1 reply; 3+ messages in thread

From: Marcin Krawczyk @ 2008-04-03 17:00 UTC (permalink / raw)
  To: pgsql-sql

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: connections between servers
  2008-04-03 17:00 connections between servers Marcin Krawczyk <jankes.mk@gmail.com>
@ 2008-04-03 17:35 ` Shane Ambler <pgsql@Sheeky.Biz>
  2008-04-03 19:26   ` Re: connections between servers Marcin Krawczyk <jankes.mk@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Shane Ambler @ 2008-04-03 17:35 UTC (permalink / raw)
  To: Marcin Krawczyk <jankes.mk@gmail.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: connections between servers
  2008-04-03 17:00 connections between servers Marcin Krawczyk <jankes.mk@gmail.com>
  2008-04-03 17:35 ` Re: connections between servers Shane Ambler <pgsql@Sheeky.Biz>
@ 2008-04-03 19:26   ` Marcin Krawczyk <jankes.mk@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Marcin Krawczyk @ 2008-04-03 19:26 UTC (permalink / raw)
  To: Shane Ambler <pgsql@sheeky.biz>; +Cc: pgsql-sql

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
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2008-04-03 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-04-03 17:00 connections between servers Marcin Krawczyk <jankes.mk@gmail.com>
2008-04-03 17:35 ` Shane Ambler <pgsql@Sheeky.Biz>
2008-04-03 19:26   ` Marcin Krawczyk <jankes.mk@gmail.com>

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