Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkxd3-00017S-E9 for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jul 2019 21:26:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hkxd0-0006ex-Sc for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jul 2019 21:26:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkxd0-0006ep-Hh for pgsql-bugs@lists.postgresql.org; Tue, 09 Jul 2019 21:26:22 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkxcx-0001k7-TF for pgsql-bugs@lists.postgresql.org; Tue, 09 Jul 2019 21:26:21 +0000 Received: by mail-qk1-x742.google.com with SMTP id w190so279021qkc.6 for ; Tue, 09 Jul 2019 14:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=H8jO21Ks8UATMLdeMC1nLmPRge2BKDoYnLJJPiNFjj0=; b=dM3q0i1wy8q4CGbmGXufgQRoWvSA54UYrQ+kRXzrEPeRyORy+lrym90nYrE98txH0G BRyBpBTKRWmI1E8LUx3EYDKDK7L0NO6nEBbsATWANhBFFZfwxBU/TZsXmImh6SMWQ7iU ezUchaE9jIiI5n4Zjm2aOxFasgePykLi4clOACw/Urp75cr9zOZZQB+ZmhBz67vfEGTT 8Q7mlN1p3yarDGap48SS5SSSHlK216w4dfvEAHVi/k4wAMp7GIRA90UT8yC4eu9Umb5n d2FGJ+uQVKsNBDBCndkBECgD3SERs3XLfGuQkSe6BIStNLwAW5drSiMHom0gOxg27DsK 0Gtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=H8jO21Ks8UATMLdeMC1nLmPRge2BKDoYnLJJPiNFjj0=; b=GKsgS+1xEJhGYN6Fd/LxEeaBbcuxc68RrHqCTy62u6F4r6yGWwP2vOY/nCmfKZBKnt /wV9Lqx25kvct4ciiHFo9QpkqJmGij3/Ou6V2zlZv6H1gYY0v5Ekh8vptjq+A/1IS9k1 Qqx+FOk5F65E6uqBI+Vp2QlB3uWN5iAUmrBAG9I937WSis4oZOhAHC8aLF+4RQfkbFlr 6VEQN501qKLFwN33iUF0HwSbC3xKfULr6MWowCQuB02U9mpqSit5ng7FJsE6iUc7kALZ NK2Mt7mY1//0GE7PLKBho34ZG5cuCwNLxhR8N1/0GFNBDmikWEMSjOT2cnDwRA4iOlC+ 48Cw== X-Gm-Message-State: APjAAAUtxHUr3+beieX+ZBV0WKv2vDqSeiapMxK+wwJleacQ611zu116 2kmtqp7SUe7zlyAJ5T3DJNmv6A== X-Google-Smtp-Source: APXvYqwnbeHmHGbYE5w2QdQY0D1kHyXxd0lMlL8Mj0s4nmr8m7jYSb1eCJDq/yLOH9wXf+q9IN1wGQ== X-Received: by 2002:ae9:eb4e:: with SMTP id b75mr20184455qkg.478.1562707578936; Tue, 09 Jul 2019 14:26:18 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id x20sm8949825qtr.72.2019.07.09.14.26.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 14:26:18 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 49F51120219; Tue, 9 Jul 2019 17:26:16 -0400 (-04) Date: Tue, 9 Jul 2019 17:26:16 -0400 From: Alvaro Herrera To: kamil.kukielka@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15752: Declarative partitions trigger with function attributes - empty attributes list on each partition Message-ID: <20190709212616.GA15155@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <15752-123bc90287986de4@postgresql.org> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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