Re: Add test of pg_prewarm extenion - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add test of pg_prewarm extenion
Date
Msg-id 1719591.1659364077@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add test of pg_prewarm extenion  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-hackers
Julien Rouhaud <rjuju123@gmail.com> writes:
> On Mon, Aug 1, 2022 at 5:16 PM Dong Wook Lee <sh95119@gmail.com> wrote:
>> I have no idea how to deal with race conditions.
>> Does anybody know how to deal with this?

> Couldn't you use $node->wait_for_log() instead?

Yeah.  The standard usage pattern for that also covers the issue
of not re-examining prior chunks of the log.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Japin Li
Date:
Subject: Re: Typo in pg_db_role_setting.h
Next
From: Amit Kapila
Date:
Subject: Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns