pgsql: Add const qualifiers where they are accidentally cast away

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add const qualifiers where they are accidentally cast away
Date: 2012-02-28 10:44:10
Message-ID: E1S2KXS-0000sj-8Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add const qualifiers where they are accidentally cast away

This only produces warnings under -Wcast-qual, but it's more correct
and consistent in any case.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/973e9fb294dc05a384ecae7623923ae53cb81806

Modified Files
--------------
contrib/intarray/_intbig_gist.c | 2 +-
contrib/ltree/ltree_gist.c | 4 ++--
src/backend/access/gist/gistproc.c | 12 ++++++------
src/backend/utils/adt/tsquery_util.c | 2 +-
src/backend/utils/adt/xml.c | 2 +-
src/backend/utils/misc/guc.c | 4 ++--
src/bin/psql/mbprint.c | 8 ++++----
src/include/c.h | 2 +-
src/include/utils/pg_crc.h | 2 +-
9 files changed, 19 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-02-28 23:10:52 pgsql: Fix thinko in new match_join_clauses_to_index() logic.
Previous Message Alvaro Herrera 2012-02-28 04:15:59 pgsql: psql: when tab-completing, use quotes on file names that need th