Re: How to tell which event was fired in Trigger function - Mailing list pgsql-general

From Igal @ Lucee.org
Subject Re: How to tell which event was fired in Trigger function
Date
Msg-id 641dfb25-1103-1edf-b44e-cb8afc9f27cd@lucee.org
Whole thread Raw
In response to Re: How to tell which event was fired in Trigger function  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: How to tell which event was fired in Trigger function
List pgsql-general
On 7/11/2018 10:38 AM, Adrian Klaver wrote:
> On 07/11/2018 10:36 AM, Igal @ Lucee.org wrote:
>> How can I tell inside the trigger function if the event was DELETE or 
>> INSERT/UPDATE?
>
> https://www.postgresql.org/docs/10/static/plpgsql-trigger.html

This looks like it have all of the information that I need.  For some 
reason search engines bring up many other pages but not that one.

Thanks Adrian!

Igal


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: How to tell which event was fired in Trigger function
Next
From: "David G. Johnston"
Date:
Subject: Re: How to tell which event was fired in Trigger function