Use 'POSIX' (=C) locale, which also sets --lc-collate and --lc-ctype
@@ -26,7 +26,7 @@ if [ ! -f $PG_DATA_DIR/dynamic/comment_0_0-postgres.csv -o $PG_DATA_DIR/dynamic/
fi
dropdb --if-exists $PG_DB_NAME -U $PG_USER -p $PG_PORT
-createdb $PG_DB_NAME -U $PG_USER -p $PG_PORT --template template0 -l "C" --locale "en_US.UTF-8"
+createdb $PG_DB_NAME -U $PG_USER -p $PG_PORT --template template0 --locale "POSIX"
psql -d $PG_DB_NAME -U $PG_USER -p $PG_PORT -a -f schema.sql -v "ON_ERROR_STOP=1"
(cat snb-load.sql | sed "s|PATHVAR|$PG_DATA_DIR|g") | psql -d $PG_DB_NAME -U $PG_USER -p $PG_PORT -v "ON_ERROR_STOP=1"
psql -d $PG_DB_NAME -U $PG_USER -p $PG_PORT -a -f schema_constraints.sql -v "ON_ERROR_STOP=1"
