pgsql: Constify numeric.c.
Started by Andres Freundalmost 9 years ago1 messagescomitters
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: /messages/by-id/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