pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Allow FOR EACH ROW triggers on partitioned tables
Date: Sat, 24 Mar 2018 22:01:45 -0700
Message-ID: <20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de> (raw)
In-Reply-To: <E1ezN3t-0005Bt-9a@gemulon.postgresql.org>
References: <E1ezN3t-0005Bt-9a@gemulon.postgresql.org>

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




view thread (5+ messages)  latest in thread

Message-ID: <20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de>
Permalink:  ../20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Allow FOR EACH ROW triggers on partitioned tables
  In-Reply-To: <20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de>
  References: <E1ezN3t-0005Bt-9a@gemulon.postgresql.org> <20180325050145.exr5xfnihpj3dly5@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox