| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Change some Datum to void * for opaque pass-through pointer |
| Date: | 2025-12-28 13:38:34 |
| Message-ID: | E1vZqyf-0038K8-2V@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)sss(dot)pgh(dot)pa(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Guo | 2025-12-29 02:41:54 | pgsql: Strip PlaceHolderVars from index operands |
| Previous Message | Michael Paquier | 2025-12-28 00:20:47 | pgsql: Split some long Makefile lists |