Re: allow trigger to get updated columns

2020-03-09 Thread Peter Eisentraut
On 2020-03-05 13:53, Daniel Gustafsson wrote: The 0001 refactoring patch seems a clear win to me. In the 0002 patch: +For UPDATE triggers, a bitmap set indicating the +columns that were updated by the triggering command. Generic trigger Is it worth pointing out that

Re: allow trigger to get updated columns

2020-03-05 Thread Daniel Gustafsson
> On 24 Feb 2020, at 10:58, Peter Eisentraut > wrote: > > This is a change to make the bitmap of updated columns available to a trigger > in TriggerData. This is the same idea as was recently done to generated > columns [0]: Generic triggers such as tsvector_update_trigger can use this >

allow trigger to get updated columns

2020-02-24 Thread Peter Eisentraut
This is a change to make the bitmap of updated columns available to a trigger in TriggerData. This is the same idea as was recently done to generated columns [0]: Generic triggers such as tsvector_update_trigger can use this information to skip work if the columns they are interested in