pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: More unconstify use
Date: Wed, 13 Feb 2019 11:18:39 +0000
Message-ID: <E1gtsYp-0004ch-VH@gemulon.postgresql.org> (raw)

More unconstify use

Replace casts whose only purpose is to cast away const with the
unconstify() macro.

Discussion: https://www.postgresql.org/message-id/flat/53a28052-f9f3-1808-fed9-460fd43035ab%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/37d9916020286caec810f4de61fbd0de3568454d

Modified Files
--------------
contrib/btree_gist/btree_utils_num.c      |  8 ++++----
contrib/pgcrypto/imath.c                  |  2 +-
contrib/pgcrypto/md5.c                    |  2 +-
contrib/pgcrypto/pgp-compress.c           |  2 +-
src/backend/access/brin/brin_pageops.c    |  8 ++++----
src/backend/access/transam/xact.c         |  4 ++--
src/backend/executor/spi.c                | 10 +++++-----
src/backend/libpq/auth.c                  | 10 +++++-----
src/backend/libpq/be-secure-openssl.c     |  2 +-
src/backend/parser/parse_type.c           |  2 +-
src/backend/replication/logical/message.c |  4 ++--
src/backend/tcop/postgres.c               |  2 +-
src/backend/utils/adt/formatting.c        |  2 +-
src/backend/utils/mb/mbutils.c            | 20 ++++++++++----------
src/backend/utils/misc/guc.c              |  2 +-
src/bin/pg_basebackup/pg_basebackup.c     |  2 +-
src/bin/pg_basebackup/walmethods.c        |  2 +-
src/bin/pg_dump/compress_io.c             |  2 +-
src/bin/psql/prompt.c                     |  2 +-
src/fe_utils/print.c                      |  2 +-
src/interfaces/libpq/fe-lobj.c            |  2 +-
src/interfaces/libpq/pqexpbuffer.c        |  8 +++++---
src/pl/tcl/pltcl.c                        |  4 ++--
src/port/path.c                           |  6 +++---
src/timezone/localtime.c                  |  2 +-
25 files changed, 57 insertions(+), 55 deletions(-)



Message-ID: <E1gtsYp-0004ch-VH@gemulon.postgresql.org>
Permalink:  ../E1gtsYp-0004ch-VH@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gtsYp-0004ch-VH@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: More unconstify use
  In-Reply-To: <E1gtsYp-0004ch-VH@gemulon.postgresql.org>
  References: <E1gtsYp-0004ch-VH@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox