Re: A question about the number of times a trigger will fire

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: stan <stanb(at)panix(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: A question about the number of times a trigger will fire
Date: 2020-03-05 15:58:32
Message-ID: CAKFQuwZA0ZEx7OehZ-26btGSwWxNmqeFUMc8Sz_PAAHUM1VM5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 5, 2020 at 7:58 AM stan <stanb(at)panix(dot)com> wrote:

> UPDATE BOM_ITEM SET cost_per_unit = 23.45 , qty = 12345.00
>
> So, it appears that I need to create a WHERE clause for the resultant
> statement. But I do not see how the function has enough data to use to
> create this where clause.
>
> What am I missing, here?
>
>
OLD and/or NEW?

https://www.postgresql.org/docs/12/plpgsql-trigger.html#PLPGSQL-DML-TRIGGER

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-03-05 15:59:46 Re: pg_dump and public schema
Previous Message David Gauthier 2020-03-05 15:50:31 format return of "age" to hh:mm