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: Change some Datum to void * for opaque pass-through pointer
Date: Sun, 28 Dec 2025 13:38:34 +0000
Message-ID: <E1vZqyf-0038K8-2V@gemulon.postgresql.org> (raw)

Change some Datum to void * for opaque pass-through pointer

Here, Datum was used to pass around an opaque pointer between a group
of functions.  But one might as well use void * for that; the use of
Datum doesn't achieve anything here and is just distracting.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/1c5d23cb-288b-4154-b1cd-191fe2301707%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b7057e43467ff2d7c04c3abcf5ec35fcc7db9611

Modified Files
--------------
src/backend/tsearch/to_tsany.c  | 12 ++++++------
src/backend/utils/adt/tsquery.c |  8 ++++----
src/include/tsearch/ts_utils.h  |  4 ++--
3 files changed, 12 insertions(+), 12 deletions(-)



Message-ID: <E1vZqyf-0038K8-2V@gemulon.postgresql.org>
Permalink:  ../E1vZqyf-0038K8-2V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vZqyf-0038K8-2V@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: Change some Datum to void * for opaque pass-through pointer
  In-Reply-To: <E1vZqyf-0038K8-2V@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