Commit d5eb52a5 authored by Tom Lane's avatar Tom Lane

Make Gen_fmgrtab.sh locale-proof. Per report from Marko Kreen and

fix suggestion from Peter.
parent febc10de
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $PostgreSQL: pgsql/src/backend/utils/Gen_fmgrtab.sh,v 1.32 2006/03/05 15:58:40 momjian Exp $ # $PostgreSQL: pgsql/src/backend/utils/Gen_fmgrtab.sh,v 1.33 2006/09/05 19:18:13 tgl Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -89,7 +89,7 @@ if [ $? -ne 0 ]; then ...@@ -89,7 +89,7 @@ if [ $? -ne 0 ]; then
fi fi
cpp_define=`echo $OIDSFILE | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | sed -e 's/[^A-Z]/_/g'` cpp_define=`echo $OIDSFILE | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | sed -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
# #
# Generate fmgroids.h # Generate fmgroids.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment