pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support for Tcl 9
Date: Mon, 25 Nov 2024 12:13:54 +0000
Message-ID: <E1tFXyU-003Sqq-SV@gemulon.postgresql.org> (raw)

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
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/17d081a6f9e3d5cbdc53e42ca2ec449d4722d0e2

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



view thread (6+ messages)

Message-ID: <E1tFXyU-003Sqq-SV@gemulon.postgresql.org>
Permalink:  ../E1tFXyU-003Sqq-SV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tFXyU-003Sqq-SV@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add support for Tcl 9
  In-Reply-To: <E1tFXyU-003Sqq-SV@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox