Re: Weird usages of sentinel_ok()

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: shihao zhong <zhong950419(at)gmail(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Weird usages of sentinel_ok()
Date: 2026-10-16 08:08:39
Message-ID: CAApHDvqZiPcUXm6391mawC7f_H9jaFJXGS27GeD+6d0_+ZmVFw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 16 Oct 2026 at 16:00, shihao zhong <zhong950419(at)gmail(dot)com> wrote:
> The patch looks right to me. All three CHUNKHDRSZ macros are
> sizeof(MemoryChunk), so the checked byte is the same.

I've now pushed the patch to adjust the 3 sentinel_ok() checks.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-10-16 08:10:05 Remove obsolete locking comment from AddBufferToRing()
Previous Message David Geier 2026-10-16 07:55:36 Re: Improving scalability of Parallel Bitmap Heap/Index Scan