- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit965213d
committed
Use more mundane 'int' type for cancel key lengths in libpq
The documented max length of a cancel key is 256 bytes, so it fits inuint8. It nevertheless seems weird to not just use 'int', like incommit0f1433f for the backend.Discussion:https://www.postgresql.org/message-id/61be9e31-7b7d-49d5-bc11-721800d89d64%40eisentraut.org1 parent9d710a1 commit965213d
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1532 | 1532 |
| |
1533 | 1533 |
| |
1534 | 1534 |
| |
1535 |
| - | |
| 1535 | + | |
1536 | 1536 |
| |
1537 | 1537 |
| |
1538 | 1538 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
| 550 | + | |
550 | 551 |
| |
551 |
| - | |
552 | 552 |
| |
553 | 553 |
| |
554 | 554 |
| |
|
0 commit comments
Comments
(0)