From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Mark sigint_interrupt_enabled as sig_atomic_t |
Date: | 2022-09-29 05:32:14 |
Message-ID: | E1odm9d-0005nr-BS@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Mark sigint_interrupt_enabled as sig_atomic_t
This is a continuation of 78fdb1e, where this flag is set in the psql
callback handler used for SIGINT. This was previously a boolean but the
C standard recommends the use of sig_atomic_t. Note that this
influences PromptInterruptContext in string.h, where the same flag is
tracked.
Author: Hayato Kuroda
Discussion: https://postgr.es/m/TYAPR01MB58669A9EC96AA3078C2CD938F5549@TYAPR01MB5866.jpnprd01.prod.outlook.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5ac9e869191148741539e626b84ba7e77dc71670
Modified Files
--------------
src/bin/psql/common.c | 2 +-
src/bin/psql/common.h | 3 ++-
src/include/common/string.h | 4 +++-
3 files changed, 6 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-09-29 06:07:30 | pgsql: Introduce SYSTEM_USER |
Previous Message | Andres Freund | 2022-09-29 05:02:14 | pgsql: windows: Set UMDF_USING_NTSTATUS globally, include ntstatus.h |