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: Remove no longer needed casts to Pointer
Date: Thu, 04 Dec 2025 18:44:57 +0000
Message-ID: <E1vREK0-002o8X-2R@gemulon.postgresql.org> (raw)

Remove no longer needed casts to Pointer

These casts used to be required when Pointer was char *, but now it's
void * (commit 1b2bb5077e9), so they are not needed anymore.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org

Branch
------
master

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

Modified Files
--------------
contrib/btree_gist/btree_utils_var.h |  2 +-
src/backend/access/heap/heaptoast.c  |  4 ++--
src/backend/catalog/aclchk.c         | 18 +++++++++---------
src/backend/catalog/pg_constraint.c  | 12 ++++++------
src/backend/utils/adt/arrayfuncs.c   |  2 +-
src/backend/utils/adt/datum.c        |  6 +++---
src/backend/utils/adt/like_support.c |  4 ++--
src/backend/utils/adt/numeric.c      |  6 +++---
src/backend/utils/adt/rangetypes.c   |  4 ++--
src/backend/utils/adt/rowtypes.c     |  4 ++--
src/backend/utils/cache/evtcache.c   |  2 +-
src/include/fmgr.h                   |  2 +-
12 files changed, 33 insertions(+), 33 deletions(-)



Message-ID: <E1vREK0-002o8X-2R@gemulon.postgresql.org>
Permalink:  ../E1vREK0-002o8X-2R@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vREK0-002o8X-2R@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: Remove no longer needed casts to Pointer
  In-Reply-To: <E1vREK0-002o8X-2R@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