Re: data_checksums + debug_discard_caches = crash

From: cca5507 <cca5507(at)qq(dot)com>
To: Mihail Nikalayeu <mihailnikalayeu(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: data_checksums + debug_discard_caches = crash
Date: 2026-08-04 03:22:30
Message-ID: tencent_868C640AF0900EFEED7C424D0A8D6BC55209@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> While working on some stress suite I found the issue related to way
> ProcessSingleRelationByOid access rel->rd_smgr.
>
> Patch with fix and test is attached (it is self-explanatory and pretty simple).

Good catch! I verify that the bug exists and your patch fixes it. Patch LGTM!

--
Regards,
ChangAo Chen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-08-04 03:27:52 Re: Streamify more code paths
Previous Message Bharath Rupireddy 2026-08-04 03:04:00 Re: Add a hook for handling logical decoding messages on subscribers.