dblink and insert? - Mailing list pgsql-general

From Andrew Shved
Subject dblink and insert?
Date
Msg-id CAKEHZLfTrfFwM1o4qT4RaiKMP3g+=00CAxaqXSp0rFMhy+Z4dw@mail.gmail.com
Whole thread Raw
List pgsql-general
I want to ghave a driger from host1, database1, table1 to host2,
database2, table2.  To insert the same row into table2 only if the row
matches certain conditions.  I am not clear how to write dblink
function to do that.

Can someone ofer a piece of code to put inside of my trigger function
on  host1, database1, table1.  I tried different variations and all of
them fail.  Or db link only reliably works on selects? by the way I am
using postgresql 8.3.

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: statically compiling postgres and problem with initdb
Next
From: AI Rumman
Date:
Subject: include directives in postgresql.conf