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: Convert some casts to unconstify
Date: Wed, 07 Oct 2026 12:41:34 +0000
Message-ID: <E1xEQxi-00000000goF-1YGn@gemulon.postgresql.org> (raw)

Convert some casts to unconstify

These casts existed only to cast away a const qualifier.  Convert them
to unconstify to make that more explicit.

Reviewed-by: Rui Zhao <zhaorui126@gmail.com>
Discussion: https://www.postgresql.org/message-id/c76b72dd-5736-453a-b698-6968d42e4768%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2906f0d5d7e2d3289f41b98115836c0bc15ab43e

Modified Files
--------------
src/backend/executor/execExpr.c | 2 +-
src/backend/replication/slot.c  | 2 +-
src/backend/storage/ipc/shmem.c | 2 +-
src/backend/storage/smgr/md.c   | 2 +-
src/backend/utils/mb/mbutils.c  | 4 ++--
src/port/bsearch_arg.c          | 2 +-
src/port/path.c                 | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)



Message-ID: <E1xEQxi-00000000goF-1YGn@gemulon.postgresql.org>
Permalink:  ../E1xEQxi-00000000goF-1YGn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xEQxi-00000000goF-1YGn@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Convert some casts to unconstify
  In-Reply-To: <E1xEQxi-00000000goF-1YGn@gemulon.postgresql.org>
  References: <E1xEQxi-00000000goF-1YGn@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