]> granicus.if.org Git - postgresql/commit
Const-ify the arguments of str_tolower() and friends to suppress compile
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Jul 2008 00:44:38 +0000 (00:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Jul 2008 00:44:38 +0000 (00:44 +0000)
commit960af47efdc1670ef90bb1f19e03cd9469bb636b
treea02fe1f1f67bfcf083117315823fec104ab80b6a
parent27cb66fdfe862f395cefa0d498b681ce142f59d8
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.)
src/backend/utils/adt/formatting.c
src/backend/utils/adt/oracle_compat.c
src/include/utils/formatting.h