Re: BUG #19380: Transition table in AFTER INSERT trigger misses rows from MERGE when used with INSERT in a CTE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, dwwoelfel(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19380: Transition table in AFTER INSERT trigger misses rows from MERGE when used with INSERT in a CTE
Date: 2026-01-24 17:27:35
Message-ID: 3405728.1769275655@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2026-01-24 10:58:40 -0500, Tom Lane wrote:
>> I find it unhelpful that it reported the AfterTriggersTableData
>> change as an ABI change, even though that struct is not globally
>> accessible. I wonder if there's some libabigail switches we
>> should be tweaking to refine that.

> Specifying --headers-dir ... during abidw seems to do the trick.

Yeah, I was just experimenting with that. It's pretty unclear
from the abigail docs whether you have to name all the header
directories explicitly or it's enough to point at the top one ...
but experimentation says the top one is enough.

I'll send Andrew a patch.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message vaibhave postgres 2026-01-25 10:47:34 Re: BUG #19384: Server crash at textout
Previous Message Andres Freund 2026-01-24 17:03:49 Re: BUG #19380: Transition table in AFTER INSERT trigger misses rows from MERGE when used with INSERT in a CTE