Re: TRIGGER on a FOREIGN Table?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: TRIGGER on a FOREIGN Table?
Дата
Msg-id 5031db5a11ea0e29b16b4a08e7dd0a3f67f55444.camel@cybertec.at
обсуждение исходный текст
Ответ на TRIGGER on a FOREIGN Table?  (Sbob <sbob@quadratum-braccas.com>)
Ответы Re: TRIGGER on a FOREIGN Table?  (Sbob <sbob@quadratum-braccas.com>)
Список pgsql-admin
On Mon, 2023-11-06 at 21:15 -0700, Sbob wrote:
> does anyone know: can I create a trigger on a foreign table? I suspect I
> have to create the trigger on the remote / source table yes?

You can create a trigger on a foreign table.  But don't get confused:

- the trigger will run locally, not on the remote database
- the trigger will not run if the table on the remote database is modified

Yours,
Laurenz Albe



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

Предыдущее
От: Rajesh Kumar
Дата:
Сообщение: Re: Frequent failover
Следующее
От: Ron
Дата:
Сообщение: Re: Frequent failover