Re: pgsql: Fix event triggers for partitioned tables

2018-10-08 Thread Michael Paquier
On Mon, Oct 08, 2018 at 10:39:23AM -0300, Alvaro Herrera wrote: > Pushed now, thanks. Thanks Alvaro for addressing the issue and back-patching. -- Michael signature.asc Description: PGP signature

Re: pgsql: Fix event triggers for partitioned tables

2018-10-08 Thread Alvaro Herrera
On 2018-Oct-08, Alvaro Herrera wrote: > On 2018-Oct-08, Michael Paquier wrote: > > > The fix is obvious because currentCommand is a pointer and not an Oid. > > Please see attached. Should I fix it myself? Pushed now, thanks. -- Álvaro Herrerahttps://www.2ndQuadrant.com/

Re: pgsql: Fix event triggers for partitioned tables

2018-10-08 Thread Alvaro Herrera
On 2018-Oct-08, Michael Paquier wrote: > Hi Alvaro, > > On Sat, Oct 06, 2018 at 10:18:46PM +, Alvaro Herrera wrote: > > Fix event triggers for partitioned tables > > > > Index DDL cascading on partitioned tables introduced a way for ALTER > > TABLE to be called reentrantly. This caused an

Re: pgsql: Fix event triggers for partitioned tables

2018-10-08 Thread Michael Paquier
Hi Alvaro, On Sat, Oct 06, 2018 at 10:18:46PM +, Alvaro Herrera wrote: > Fix event triggers for partitioned tables > > Index DDL cascading on partitioned tables introduced a way for ALTER > TABLE to be called reentrantly. This caused an an important deficiency > in event trigger support to