diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-04-09 13:11:42 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-04-09 13:11:42 +0300 |
commit | 0f1433f05356e8de7c4125e5192a54355e12359d (patch) | |
tree | 107f33b9f468eacfbbe5c2fd07800625b6972a2e /src/backend/postmaster/auxprocess.c | |
parent | ef366b7d7e3e66ca55ce80c9dfa3254ada727754 (diff) |
Fix a few oversights in the longer cancel keys patch
Change MyCancelKeyLength's type from uint8 to int. While it always
fits in a uint8, plain int is less surprising, as there's no
particular reason for it to be uint8.
Fix one ProcSignalInit caller that passed 'false' instead of NULL for
the pointer argument.
Author: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/61be9e31-7b7d-49d5-bc11-721800d89d64@eisentraut.org
Diffstat (limited to 'src/backend/postmaster/auxprocess.c')
-rw-r--r-- | src/backend/postmaster/auxprocess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/postmaster/auxprocess.c b/src/backend/postmaster/auxprocess.c index 4f6795f7265..a6d3630398f 100644 --- a/src/backend/postmaster/auxprocess.c +++ b/src/backend/postmaster/auxprocess.c @@ -66,7 +66,7 @@ AuxiliaryProcessMainCommon(void) BaseInit(); - ProcSignalInit(false, 0); + ProcSignalInit(NULL, 0); /* * Auxiliary processes don't run transactions, but they may need a |