pgsql: Const-ify the arguments of str_tolower() and friends to suppress

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Const-ify the arguments of str_tolower() and friends to suppress
Дата
Msg-id 20080712004438.156F7754A84@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Const-ify the arguments of str_tolower() and friends to suppress compile
warnings.  Clean up various unneeded cruft that was left behind after
creating those routines.  Introduce some convenience functions str_tolower_z
etc to eliminate tedious and error-prone double arguments in formatting.c.
(Currently there seems no need to export the latter, but maybe reconsider
this later.)

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.144 -> r1.145)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.144&r2=1.145)
        oracle_compat.c (r1.81 -> r1.82)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/oracle_compat.c?r1=1.81&r2=1.82)
    pgsql/src/include/utils:
        formatting.h (r1.19 -> r1.20)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/formatting.h?r1=1.19&r2=1.20)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Multi-column GIN indexes.
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Don't make --enable-cassert turn on RANDOMIZE_ALLOCATED_MEMORY