Re: Converting pqsignal to void return

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Nathan Bossart <nathandbossart(at)gmail(dot)com>
Subject: Re: Converting pqsignal to void return
Date: 2025-01-23 05:08:26
Message-ID: Z5HOyjqH3Ckt89qg@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 22, 2025 at 09:01:09AM -0800, Paul Ramsey wrote:
> This is the Knowledge that was sitting right in front of me, but I could not see.
> From the road to Damascus,

Note also that there is some documentation showing how to write a
signal handler and what should not be done:
https://www.postgresql.org/docs/devel/source-conventions.html#SOURCE-CONVENTIONS-SIGNAL-HANDLERS

See also 0da096d78e1e, in the same spirit.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2025-01-23 05:21:23 Re: Sample rate added to pg_stat_statements
Previous Message Peter Smith 2025-01-23 04:55:12 Re: Adding a '--two-phase' option to 'pg_createsubscriber' utility.