Re: Bug in pg_restore with EventTrigger in parallel mode

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in pg_restore with EventTrigger in parallel mode
Date: 2020-02-13 14:27:50
Message-ID: CAFcNs+rpbuLMPctFEnKKasFmTBWjG_M-w1aStLJ6iZ81Z_CZoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 13, 2020 at 12:52 AM Michael Paquier <michael(at)paquier(dot)xyz>
wrote:

> On Wed, Feb 12, 2020 at 01:59:05PM -0300, Fabrízio de Royes Mello wrote:
> > In parallel mode it's firing the EventTrigger and it can't be happen.
> > Poking around it I did some test with attached just to leave
> EventTriggers
> > in pending_list to process it in restore_toc_entries_postfork and
> > everything is ok, but my solution is very ugly, so maybe we need to
> invent
> > a new RestorePass to take care of it like RESTORE_PASS_ACL and
> > RESTORE_PASS_REFRESH. I can provide a more polished patch if it'll be a
> > good way to do that.
>
> Could you add that as a bug fix to the next CF [1]?
>
> [1]: https://commitfest.postgresql.org/27/
>
>
Done, thanks!
https://commitfest.postgresql.org/27/2450/

Regards,

--
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2020-02-13 15:04:40 Re: Small docs bugfix: make it clear what can be used in UPDATE FROM and DELETE USING
Previous Message Peter Eisentraut 2020-02-13 14:16:57 Fix compiler warnings on 64-bit Windows