Skip site navigation (1) Skip section navigation (2)

pgsql: psql: Remove inappropriate const qualifiers

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: psql: Remove inappropriate const qualifiers
Date: 2012-03-16 18:39:10
Message-ID: E1S8c3S-0005aB-8e@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
psql: Remove inappropriate const qualifiers

Since mbvalidate() can alter the string it validates, having the
callers claim that the strings they accept are const is inappropriate.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/598bb8cdbd9c2554bd8acfc51c9fed473a7d37bc

Modified Files
--------------
src/bin/psql/mbprint.c |    2 +-
src/bin/psql/print.c   |    4 ++--
src/bin/psql/print.h   |    4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2012-03-16 22:54:26
Subject: pgsql: In pg_upgrade,create a script to incrementally generate more ac
Previous:From: Tom LaneDate: 2012-03-16 18:08:05
Subject: pgsql: Improve commentary in match_pathkeys_to_index().

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group