pgsql: Add support for Tcl 9 - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add support for Tcl 9
Date
Msg-id E1tFXHO-003Sc9-N4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/32a2aa77ef7eec5ca46cfdbe6b175435cac1af61

Modified Files
--------------
src/pl/tcl/pltcl.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Assume that conforms to the C standard.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add support for Tcl 9