data_checksums + debug_discard_caches = crash

From: Mihail Nikalayeu <mihailnikalayeu(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: data_checksums + debug_discard_caches = crash
Date: 2026-08-03 23:51:00
Message-ID: CADzfLwXGvb4Y-mqy8T+O0f_tkXR1sTDBGzP5Z=V_qcGnZ46rWg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, everyone and Daniel!

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).

Best regards,
Mikhail.

Attachment Content-Type Size
v1-0001-Do-not-hold-rd_smgr-across-the-fork-loop-when-ena.patch application/octet-stream 3.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Quan Zongliang 2026-08-04 00:31:11 Re: [PATCH] Remove unused PartitionDescData.last_found_part_index field
Previous Message Bharath Rupireddy 2026-08-03 23:41:00 Re: Make pg_prewarm, autoprewarm yield for waiting DDL