Re: creating a trigger to access another postgres database?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: creating a trigger to access another postgres database?
Дата
Msg-id 47ED1303.30006@archonet.com
обсуждение исходный текст
Ответ на creating a trigger to access another postgres database?  (carty mc <cartymc3@yahoo.com>)
Ответы Re: creating a trigger to access another postgres database?
Список pgsql-general
carty mc wrote:
> I have a question regarding postgres Trigger. We have two
> applications which connect to two different databases (Both are
> postgres). Is it possible to create a trigger (row based) in one
> database say A, which can access another database say B and updates a
> table there.

Sure - check the manuals (in 8.3) for dblink - it's in contrib. It's
been there for a while, but the documentation for contrib modules wasn't
in the manual until 8.3

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: purple_cat
Дата:
Сообщение: PostgreSQL terminates after crash of another server process
Следующее
От: Ben
Дата:
Сообщение: Schema design question