pgsql: Reject CancelRequestPacket having unexpected length.

2023-01-21 Thread Noah Misch
Reject CancelRequestPacket having unexpected length. When the length was too short, the server read outside the allocation. That yielded the same log noise as sending the correct length with (backendPID,cancelAuthCode) matching nothing. Change to a message about the unexpected length. Given the

pgsql: Reject CancelRequestPacket having unexpected length.

2023-01-21 Thread Noah Misch
Reject CancelRequestPacket having unexpected length. When the length was too short, the server read outside the allocation. That yielded the same log noise as sending the correct length with (backendPID,cancelAuthCode) matching nothing. Change to a message about the unexpected length. Given the

pgsql: Reject CancelRequestPacket having unexpected length.

2023-01-21 Thread Noah Misch
Reject CancelRequestPacket having unexpected length. When the length was too short, the server read outside the allocation. That yielded the same log noise as sending the correct length with (backendPID,cancelAuthCode) matching nothing. Change to a message about the unexpected length. Given the

pgsql: Reject CancelRequestPacket having unexpected length.

2023-01-21 Thread Noah Misch
Reject CancelRequestPacket having unexpected length. When the length was too short, the server read outside the allocation. That yielded the same log noise as sending the correct length with (backendPID,cancelAuthCode) matching nothing. Change to a message about the unexpected length. Given the

pgsql: Reject CancelRequestPacket having unexpected length.

2023-01-21 Thread Noah Misch
Reject CancelRequestPacket having unexpected length. When the length was too short, the server read outside the allocation. That yielded the same log noise as sending the correct length with (backendPID,cancelAuthCode) matching nothing. Change to a message about the unexpected length. Given the

pgsql: Reject CancelRequestPacket having unexpected length.

2023-01-21 Thread Noah Misch
Reject CancelRequestPacket having unexpected length. When the length was too short, the server read outside the allocation. That yielded the same log noise as sending the correct length with (backendPID,cancelAuthCode) matching nothing. Change to a message about the unexpected length. Given the