pgsql: Remove useless const qualifier

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove useless const qualifier
Date: 2012-02-26 13:25:41
Message-ID: E1S1e6f-0003ih-EC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove useless const qualifier

Claiming that the typevar argument to DefineCompositeType() is const
was a plain lie. A similar case in DefineVirtualRelation() was
already changed in passing in commit 1575fbcb. Also clean up the now
unnecessary casts that used to cast away the const.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/66f0cf7da8eeaeca4b9894bfafd61789b514af4a

Modified Files
--------------
src/backend/commands/typecmds.c | 4 ++--
src/backend/commands/view.c | 2 +-
src/include/commands/typecmds.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2012-02-26 13:31:30 pgsql: Remove useless cast
Previous Message pgsql 2012-02-25 18:26:34 pgsql: Tag refs/tags/REL9_1_3 was created