Re: POC: GUC option for skipping shared buffers in core dumps

From: Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: POC: GUC option for skipping shared buffers in core dumps
Date: 2023-09-25 09:42:35
Message-ID: 749e1773-a394-4915-b579-aef4c0572431@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

The current approach could be better because we want to use it on
Windows/MacOS and other systems. So, I've tried to develop another
strategy - detaching shmem and DSM blocks before executing the abort()
routine.
As I can see, it helps and reduces the size of the core file.

--
regards,
Andrey Lepikhov
Postgres Professional

Attachment Content-Type Size
detach_on_abort.diff text/plain 4.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Lepikhov 2023-09-25 09:49:18 Re: RFC: Logging plan of the running query
Previous Message Alexander Korotkov 2023-09-25 09:13:04 Re: On login trigger: take three