Re: Bug in pg_get_aios()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: cca5507 <cca5507(at)qq(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Bug in pg_get_aios()
Date: 2026-03-23 08:44:21
Message-ID: acD9ZZYfmE7EVh-B@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 23, 2026 at 02:30:28PM +0800, Chao Li wrote:
>> On Mar 23, 2026, at 14:23, cca5507 <cca5507(at)qq(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2026-03-23 08:50:28 headerscheck: Avoid mutual inclusion of pg_config.h and c.h
Previous Message Xuneng Zhou 2026-03-23 08:41:53 Re: tablecmds: fix bug where index rebuild loses replica identity on partitions