public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: pgsql: Fix some -Wcast-qual warnings
Date: Fri, 27 Feb 2026 21:04:48 +0000
Message-ID: <[email protected]> (raw)

Fix some -Wcast-qual warnings

This fixes some warnings from -Wcast-qual that are easy to fix,
without using unconstify or the like.

Reviewed-by: Bertrand Drouvot <[email protected]>
Discussion: https://www.postgresql.org/message-id/990c9117-b013-4026-aaf5-261fe2832c3d%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3f9886298052802258261e1bdcd3f1dd0e8399b9

Modified Files
--------------
src/backend/access/gin/ginbulk.c        |  2 +-
src/backend/postmaster/launch_backend.c | 12 ++++++------
src/backend/utils/adt/xml.c             |  5 +++--
src/backend/utils/error/elog.c          |  7 +++++--
src/common/jsonapi.c                    |  6 +++---
src/fe_utils/astreamer_lz4.c            | 12 ++++++------
src/include/access/gin_private.h        |  2 +-
src/include/port/pg_lfind.h             |  4 ++--
src/include/postmaster/postmaster.h     |  2 +-
src/interfaces/ecpg/preproc/parser.c    | 17 +++++++++++------
10 files changed, 39 insertions(+), 30 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Fix some -Wcast-qual warnings
  In-Reply-To: <[email protected]>

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

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