| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add support for Tcl 9 |
| Date: | 2024-11-25 12:13:54 |
| Message-ID: | E1tFXyU-003Sqr-TA@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)partin(dot)io>
Discussion: https://www.postgresql.org/message-id/flat/bce0fe54-75b4-438e-b42b-8e84bc7c0e9c%40eisentraut.org
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/f230e27a2a790de1e1837e25807cb6df2e99b2ed
Modified Files
--------------
src/pl/tcl/pltcl.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2024-11-25 16:53:34 | pgsql: Support runtime CRC feature probing on NetBSD/ARM using sysctl() |
| Previous Message | Peter Eisentraut | 2024-11-25 11:29:22 | pgsql: Add support for Tcl 9 |