Re: TRIGGER on a FOREIGN Table?

From: Sbob <sbob(at)quadratum-braccas(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: TRIGGER on a FOREIGN Table?
Date: 2023-11-07 21:24:19
Message-ID: a78e819f-c10a-4e03-9313-0bb2689892b9@quadratum-braccas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Got it, Thanks!

On 11/7/23 00:30, Laurenz Albe wrote:
> 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Erik Serrano 2023-11-08 00:42:08 Re: Not able to connect specific database
Previous Message Sanjay Minni 2023-11-07 17:06:05 Re: pgadmin for ubuntu 23.10 (mantic)