more unconstify use

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-02-07T08:14:34Z
Lists: pgsql-hackers

Attachments

Here is a patch that makes more use of unconstify() by replacing casts
whose only purpose is to cast away const.  Also a preliminary patch to
remove casts that were useless to begin with.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Commits

  1. Get rid of another unconstify through API changes

  2. Resolve one unconstify use

  3. More unconstify use

  4. Remove useless casts