Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezxn1-0008Ny-0q for pgsql-committers@arkaria.postgresql.org; Sun, 25 Mar 2018 05:01:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ezxmy-00037T-RZ for pgsql-committers@arkaria.postgresql.org; Sun, 25 Mar 2018 05:01:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezxmy-00037K-76 for pgsql-committers@lists.postgresql.org; Sun, 25 Mar 2018 05:01:52 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezxmu-00059z-CJ for pgsql-committers@lists.postgresql.org; Sun, 25 Mar 2018 05:01:51 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6D07020D36; Sun, 25 Mar 2018 01:01:46 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 25 Mar 2018 01:01:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=JcB3ZzHBGTYajWRmsOadakvkjEy/1 Topl73d3wdC5lQ=; b=JNUAxf7V84IsNZIqXt4t+97zZ4XFhVkDXeo1FzV2TgZ2E hJrvGGzPECuvqDma6LFZORz73Hk5JgeecUa2FvvqReeAcj85a324/u+1LKvgDDWO iBPUwVx3uFurR8/TKYqCrPMW8qsFhA2ZB+jU0y01YOcXG3Ytq9UyMQqW4OSze4oo EbgieC/i41zylouQlsnpkw+P94O9tGFFA1VgSUAXyxmdglkQelrOZKf57bWe2kkR SbYXod/SNfwyG/QlTlnk+p1iVeB0oC5xklwOXwAsRiYGGYTFHnl508wI5PCw42m8 L75hUqnqVnIgYZ0OURR9OKSwH/ZfpxZFS+6asafEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=JcB3Zz HBGTYajWRmsOadakvkjEy/1Topl73d3wdC5lQ=; b=PBizmWSvGUB8jkB5jSeIIo wuOqlfrR2Yzd+QpFmPsmCj08cYNE2A1sO6CBvuZc/+KOdppccQSYE6dBp3ZjAvsW qCJM4HeW0ZhALSl31U+h9SGX4buzySmllGPsa1vUJiThWswwwMOcVnBy9Zb3ZGxe EXWyy6g5frIL9Bmv0v8b+tkuhZfa4m0NTed05G5gvgTbrQN1xzeY0E3l4t7aqAOr R02YIfdJBpGsuyzb1orFfyGvDovaJcG+knPjP6zC1Bzem6qJbDFzCSaSLI6OeDp2 x6hRJ3H6uNffubXTwvs2ps4xEu3NmPAz23XLILyFbEvwodFY1EOOxtSmVEHZw0BQ == X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 1EFD124038; Sun, 25 Mar 2018 01:01:46 -0400 (EDT) Date: Sat, 24 Mar 2018 22:01:45 -0700 From: Andres Freund To: Alvaro Herrera Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Allow FOR EACH ROW triggers on partitioned tables Message-ID: <20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-03-23 13:48:53 +0000, Alvaro Herrera wrote: > Allow FOR EACH ROW triggers on partitioned tables > > Previously, FOR EACH ROW triggers were not allowed in partitioned > tables. Now we allow AFTER triggers on them, and on trigger creation we > cascade to create an identical trigger in each partition. We also clone > the triggers to each partition that is created or attached later. > > This means that deferred unique keys are allowed on partitioned tables, > too. > > Author: Álvaro Herrera > Reviewed-by: Peter Eisentraut, Simon Riggs, Amit Langote, Robert Haas, > Thomas Munro > Discussion: https://postgr.es/m/20171229225319.ajltgss2ojkfd3kp@alvherre.pgsql The inherit.sql here looks like it's racing against the concurrentlys scheduled triggers.sql according to my new desmoxytes animal: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=desmoxytes&dt=2018-03-25%2004%3A48%3A01 Greetings, Andres Freund