We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d710a1 commit 965213dCopy full SHA for 965213d
src/interfaces/libpq/fe-protocol3.c
@@ -1532,7 +1532,7 @@ getParameterStatus(PGconn *conn)
1532
static int
1533
getBackendKeyData(PGconn *conn, int msgLength)
1534
{
1535
- uint8 cancel_key_len;
+ int cancel_key_len;
1536
1537
if (conn->be_cancel_key)
1538
src/interfaces/libpq/libpq-int.h
@@ -547,8 +547,8 @@ struct pg_conn
547
548
/* Miscellaneous stuff */
549
int be_pid; /* PID of backend --- needed for cancels */
550
+ int be_cancel_key_len;
551
char *be_cancel_key; /* query cancellation key and its length */
- uint16 be_cancel_key_len;
552
pgParameterStatus *pstatus; /* ParameterStatus data */
553
int client_encoding; /* encoding id */
554
bool std_strings; /* standard_conforming_strings */
0 commit comments