| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
| Cc: | Dong Wook Lee <sh95119(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Justin Pryzby <pryzby(at)telsasoft(dot)com> |
| Subject: | Re: Add test of pg_prewarm extenion |
| Date: | 2022-08-01 14:27:57 |
| Message-ID: | 1719591.1659364077@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Julien Rouhaud <rjuju123(at)gmail(dot)com> writes:
> On Mon, Aug 1, 2022 at 5:16 PM Dong Wook Lee <sh95119(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2022-08-01 14:31:00 | Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns |
| Previous Message | Japin Li | 2022-08-01 14:24:24 | Re: Typo in pg_db_role_setting.h |