pgsql: Fix a few oversights in the longer cancel keys patch - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix a few oversights in the longer cancel keys patch
Date
Msg-id E1u2SQG-003QRf-2g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0f1433f05356e8de7c4125e5192a54355e12359d

Modified Files
--------------
src/backend/postmaster/auxprocess.c | 2 +-
src/backend/utils/init/globals.c    | 2 +-
src/include/miscadmin.h             | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Make cancel request keys longer
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Update config.guess and config.sub