[COMMITTERS] pgsql: Constify numeric.c. - Mailing list pgsql-committers

From Andres Freund
Subject [COMMITTERS] pgsql: Constify numeric.c.
Date
Msg-id E1drVZn-00015i-Bc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Constify numeric.c.

This allows the compiler/linker to move the static variables to a
read-only segment.  Not all the signature changes are necessary, but
it seems better to apply const in a consistent manner.

Reviewed-By: Tom Lane
Discussion: https://postgr.es/m/20170910232154.asgml44ji2b7lv3d@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c1898c3e1e235ae35b4759d233253eff221b976a

Modified Files
--------------
src/backend/utils/adt/numeric.c | 212 +++++++++++++++++++++-------------------
1 file changed, 111 insertions(+), 101 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Prefer argument name over "$n" for the refname of a plpgsqlargu
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: pg_receivewal: Add --endpos option