aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-11-25 08:03:16 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-11-25 12:27:26 +0100
commita5f9cbde99c50aec7aa9fbafdb5b2b492ffdab0d (patch)
tree5bcdbeecf1684381a19ae9f857e2b78d156ecf39 /src/backend/tcop/postgres.c
parent94817d9d94d06e5edae408a919de907d2df4cee8 (diff)
downloadpostgresql-a5f9cbde99c50aec7aa9fbafdb5b2b492ffdab0d.tar.gz
postgresql-a5f9cbde99c50aec7aa9fbafdb5b2b492ffdab0d.zip
Add support for Tcl 9
Tcl 9 changed several API functions to take Tcl_Size, which is ptrdiff_t, instead of int, for 64-bit enablement. We have to change a few local variables to be compatible with that. We also provide a fallback typedef of Tcl_Size for older Tcl versions. The affected variables are used for quantities that will not approach values beyond the range of int, so this doesn't change any functionality. Reviewed-by: Tristan Partin <tristan@partin.io> Discussion: https://www.postgresql.org/message-id/flat/bce0fe54-75b4-438e-b42b-8e84bc7c0e9c%40eisentraut.org
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions