Re: update data in different database

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: update data in different database
Дата
Msg-id 417F9287.3090308@archonet.com
обсуждение исходный текст
Ответ на update data in different database  ("Henriksen, Jonas F" <jonas.f.henriksen@imr.no>)
Список pgsql-general
Henriksen, Jonas F wrote:
> Hi,
>
> is it possible to write a trigger, using pl/pgSQL,  that updates
> tables in a different database than the one the trigger is called
> from? If it is, what is the syntax for calling the other database? My
> to databases are on the same server.

Look into the dblink package in the contrib directory of the source
distribution (or your contrib package)

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: update data in different database
Следующее
От: Carlos
Дата:
Сообщение: Changing access permissions without re-starting the database