Re: [PATCH] Fix EINTR retry condition in pg_flush_data sync_file_range path. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Fix EINTR retry condition in pg_flush_data sync_file_range path.
Date
Msg-id afLC7ZCsHDRrQCt8@paquier.xyz
Whole thread
In response to [PATCH] Fix EINTR retry condition in pg_flush_data sync_file_range path.  (DaeMyung Kang <charsyam@gmail.com>)
List pgsql-hackers
On Thu, Apr 30, 2026 at 12:18:11AM +0900, DaeMyung Kang wrote:
> While auditing src/backend/storage/file, I spotted a small but
> unambiguous bug in pg_flush_data()'s sync_file_range() retry path.
> Details below in the commit message; the fix is a one-token change.

Ohh, nice catch.  This happens to be wrong since 0d369ac65004.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fix the error hint message and test for reset_shared with iso-8859-1 stats type
Next
From: Richard Guo
Date:
Subject: Re: Fix HAVING-to-WHERE pushdown with nondeterministic collations