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 warning
Date: Thu, 26 Mar 2026 14:06:03 +0000
Message-ID: <E1w5lLW-001YA6-1T@gemulon.postgresql.org> (raw)

Fix -Wcast-qual warning

This dials back a couple of the qualifiers added by commit
7724cb9935a.  Specifically, in match_boolean_partition_clause() the
call to negate_clause() casts away the const, so we shouldn't make the
input argument const.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/119e791e9c7d7d122f7a9554514455c38115964a

Modified Files
--------------
src/backend/partitioning/partprune.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)



Message-ID: <E1w5lLW-001YA6-1T@gemulon.postgresql.org>
Permalink:  ../E1w5lLW-001YA6-1T@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w5lLW-001YA6-1T@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: Fix -Wcast-qual warning
  In-Reply-To: <E1w5lLW-001YA6-1T@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