Re: Improve read_local_xlog_page_guts by replacing polling with latch-based waiting

From: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Improve read_local_xlog_page_guts by replacing polling with latch-based waiting
Date: 2025-08-28 08:22:55
Message-ID: CABPTF7W9YnT53tJK-hsAEo5LDX78VqQD4wmhJfyqdv-dMZDa0w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Some changes in v3:
1) Update the note of xlogwait.c to reflect the extending of its use
for flush waiting and internal use for both flush and replay waiting.
2) Update the comment above logical_read_xlog_page which describes the
prior-change behavior of read_local_xlog_page.

Best,
Xuneng

Attachment Content-Type Size
v8-0001-Implement-WAIT-FOR-command.patch application/octet-stream 63.6 KB
v3-0000-cover-letter.patch application/octet-stream 1.7 KB
v3-0002-Improve-read_local_xlog_page_guts-by-replacing-po.patch application/octet-stream 11.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2025-08-28 08:36:00 Re: psql: tab-completion support for COPY ... TO/FROM STDIN, STDOUT, and PROGRAM
Previous Message Kirill Reshke 2025-08-28 08:08:50 Re: Remove unneeded cast in heap_xlog_lock.