collect_corrupt_items_vacuum.patch

From: Daniel Shelepanov <deniel1495(at)mail(dot)ru>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: collect_corrupt_items_vacuum.patch
Date: 2022-04-04 08:51:10
Message-ID: 1649062270.289865713@f403.i.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi hackers!
 
I’ve been working on this [ https://www.postgresql.org/message-id/flat/cfcca574-6967-c5ab-7dc3-2c82b6723b99%40mail.ru ] bug. Finally, I’ve come up with the patch you can find attached. Basically what is does is rises a PROC_IN_VACUUM flag and resets it afterwards. I know this seems kinda crunchy and I hope you guys will give me some hints on where to continue. This [ https://www.postgresql.org/message-id/20220218175119.7hwv7ksamfjwijbx%40alap3.anarazel.de ] message contains reproduction script. Thank you very much in advance.
 
Kind regards,
Daniel Shelepanov

Attachment Content-Type Size
collect_corrupt_items_vacuum.patch text/x-diff 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2022-04-04 08:54:49 Re: standby recovery fails (tablespace related) (tentative patch and discussion)
Previous Message Kyotaro Horiguchi 2022-04-04 08:29:48 Re: standby recovery fails (tablespace related) (tentative patch and discussion)