dblink and insert?

Поиск
Список
Период
Сортировка
От Andrew Shved
Тема dblink and insert?
Дата
Msg-id CAKEHZLfTrfFwM1o4qT4RaiKMP3g+=00CAxaqXSp0rFMhy+Z4dw@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: statically compiling postgres and problem with initdb
Следующее
От: AI Rumman
Дата:
Сообщение: include directives in postgresql.conf