Search Postgresql Archives

Re: Determining if a table really changed in a trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Wed, Oct 27, 2021 at 12:46 AM Mark Dilger
<mark.dilger@xxxxxxxxxxxxxxxx> wrote:
> I felt the same way about it, but after glancing quickly through the code and docs nothing jumped out.  The information is clearly available, as it gets returned at the end of the UPDATE statement in the "UPDATE 0" OR "UPDATE 3", but I don't see how to access that from the trigger.  I might have to submit a patch for that if nobody else knows a way to get it.  (Hopefully somebody will respond with the answer...?)

Anyone? Any way to determine the number of affected rows in a statement trigger?


Mitar

-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux