Re: BUG #19380: Transition table in AFTER INSERT trigger misses rows from MERGE when used with INSERT in a CTE
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Dean Rasheed <dean.a.rasheed@gmail.com>, dwwoelfel@gmail.com,
pgsql-bugs@lists.postgresql.org
Date: 2026-01-24T17:27:35Z
Lists: pgsql-bugs
Andres Freund <andres@anarazel.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
Commits
-
Update .abi-compliance-history for change to TransitionCaptureState.
- 7023650429e9 15.16 landed
- b06e7c10d172 16.12 landed
- 661d55e25737 17.8 landed
- fff87cb50dbd 18.2 landed
-
Fix trigger transition table capture for MERGE in CTE queries.
- c5824536e7ca 15.16 landed
- e7391bbf14db 16.12 landed
- c5fc17ddaccf 17.8 landed
- c6ce4dcf9d3b 18.2 landed
- b4307ae2e540 19 (unreleased) landed