Re: BUG #15752: Declarative partitions trigger with function attributes - empty attributes list on each partition

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: kamil.kukielka@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2019-07-09T21:26:16Z
Lists: pgsql-bugs
On 2019-Apr-14, PG Bug reporting form wrote:

> When trigger is created on partitioned table with execute function with
> attributes, each partition calls function without defined values. That makes
> triggers on partitioned tables little less useful.

Hello, I pushed a fix for this (thanks, Patrick McHardy).  It'll
appear in the set of stable releases scheduled for next month.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. Propagate trigger arguments to partitions