Re: [HACKERS] make async slave to wait for lsn to be replayed - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [HACKERS] make async slave to wait for lsn to be replayed
Date
Msg-id CA+hUKGKXXP8ZgTfFfjhv77ALC-ZKcejR4pdfrfgVqYrG_75zeQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] make async slave to wait for lsn to be replayed  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: [HACKERS] make async slave to wait for lsn to be replayed
List pgsql-hackers
> v12

Hi all,

I didn't review the patch but one thing jumped out: I don't think it's
OK to hold a spinlock while (1) looping over an array of backends and
(2) making system calls (SetLatch()).



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Improve tab completion for ALTER DEFAULT PRIVILEGE and ALTER TABLE
Next
From: torikoshia
Date:
Subject: Re: Add new error_action COPY ON_ERROR "log"