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)
commit0472a7a94006949a325dddb8835261173fb35804
tree8915e2b371cf30be1d7e42e2b294e9ad092c64a2
parentd0801e84953e3754cc026989bbfcc4fb9c69dcd2
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