From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Const-ify the arguments of str_tolower() and friends to suppress |
Date: | 2008-07-12 00:44:38 |
Message-ID: | 20080712004438.156F7754A84@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-07-12 02:28:43 | pgsql: Don't make --enable-cassert turn on RANDOMIZE_ALLOCATED_MEMORY |
Previous Message | Tom Lane | 2008-07-11 21:06:29 | pgsql: Multi-column GIN indexes. |