]> granicus.if.org Git - postgresql/commit
Constify numeric.c.
authorAndres Freund <andres@anarazel.de>
Sun, 10 Sep 2017 23:20:41 +0000 (16:20 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 11 Sep 2017 20:44:37 +0000 (13:44 -0700)
commitc1898c3e1e235ae35b4759d233253eff221b976a
tree6c1ff4fad31ae77260d263d002127ba7355aef4a
parentb8060e41b5994a3cffb3ececaab10ed39b8d5dfd
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
src/backend/utils/adt/numeric.c