Re: Bug in pg_restore with EventTrigger in parallel mode - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Bug in pg_restore with EventTrigger in parallel mode
Date
Msg-id 20200213035231.GG1520@paquier.xyz
Whole thread Raw
In response to Bug in pg_restore with EventTrigger in parallel mode  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Responses Re: Bug in pg_restore with EventTrigger in parallel mode
List pgsql-hackers
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/
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Just for fun: Postgres 20?
Next
From: Masahiko Sawada
Date:
Subject: Re: Internal key management system