[COMMITTERS] pgsql: Constify numeric.c.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [COMMITTERS] pgsql: Constify numeric.c.
Дата
Msg-id E1drVZn-00015i-Bc@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Prefer argument name over "$n" for the refname of a plpgsqlargu
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: pg_receivewal: Add --endpos option