pgsql: Fix -Wcast-qual warning - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix -Wcast-qual warning
Date
Msg-id E1w5lLW-001YA6-1T@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Avoid sending duplicate WAL locations in standby status replies
Next
From: Robert Haas
Date:
Subject: pgsql: Respect disabled_nodes in fix_alternative_subplan.