File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1532,7 +1532,7 @@ getParameterStatus(PGconn *conn)
1532
1532
static int
1533
1533
getBackendKeyData (PGconn * conn , int msgLength )
1534
1534
{
1535
- uint8 cancel_key_len ;
1535
+ int cancel_key_len ;
1536
1536
1537
1537
if (conn -> be_cancel_key )
1538
1538
{
Original file line number Diff line number Diff line change @@ -547,8 +547,8 @@ struct pg_conn
547
547
548
548
/* Miscellaneous stuff */
549
549
int be_pid ; /* PID of backend --- needed for cancels */
550
+ int be_cancel_key_len ;
550
551
char * be_cancel_key ; /* query cancellation key and its length */
551
- uint16 be_cancel_key_len ;
552
552
pgParameterStatus * pstatus ; /* ParameterStatus data */
553
553
int client_encoding ; /* encoding id */
554
554
bool std_strings ; /* standard_conforming_strings */
You can’t perform that action at this time.
0 commit comments