Re: Bug in pg_get_aios() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Bug in pg_get_aios()
Date
Msg-id acD9ZZYfmE7EVh-B@paquier.xyz
Whole thread Raw
In response to Re: Bug in pg_get_aios()  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Bug in pg_get_aios()
List pgsql-hackers
On Mon, Mar 23, 2026 at 02:30:28PM +0800, Chao Li wrote:
>> On Mar 23, 2026, at 14:23, cca5507 <cca5507@qq.com> wrote:
>> If I understand correctly, we want to set nulls[0] to true if owner_pid equals to 0:
>
> Indeed an obvious bug.

Or the intention of the code could have been to allow a PID value of 0
to be exposed, but I don't really buy it.  Will fix, thanks for the
report.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: tablecmds: fix bug where index rebuild loses replica identity on partitions
Next
From: Peter Eisentraut
Date:
Subject: headerscheck: Avoid mutual inclusion of pg_config.h and c.h