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: Fix -Wcast-qual warnings with external APIs
Date: Wed, 07 Oct 2026 12:41:34 +0000
Message-ID: <E1xEQxi-00000000goD-1TbS@gemulon.postgresql.org> (raw)

Fix -Wcast-qual warnings with external APIs

These casts were there only drop a qualifier to satisfy some external
API.  Convert them to unconstify to make the purpose clear.

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/920746297961077ebe6069842fed6a177405f949

Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c     | 2 +-
src/backend/libpq/be-secure-openssl.c    | 2 +-
src/backend/port/win32/socket.c          | 2 +-
src/bin/psql/tab-complete.in.c           | 2 +-
src/interfaces/libpq/fe-secure-gssapi.c  | 2 +-
src/interfaces/libpq/fe-secure-openssl.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)



Message-ID: <E1xEQxi-00000000goD-1TbS@gemulon.postgresql.org>
Permalink:  ../E1xEQxi-00000000goD-1TbS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xEQxi-00000000goD-1TbS@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: Fix -Wcast-qual warnings with external APIs
  In-Reply-To: <E1xEQxi-00000000goD-1TbS@gemulon.postgresql.org>
  References: <E1xEQxi-00000000goD-1TbS@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