The formatting of the display of the locale names assumed that locale names

are not longer than 8 characters.  But sometimes they are, and that made
the display quite ugly.  So just format them vertically so that everyone
can read them.
This commit is contained in:
Peter Eisentraut 2003-09-27 09:21:26 +00:00
parent 87cbcff9e6
commit 4af19a579d
1 changed files with 7 additions and 3 deletions

View File

@ -27,7 +27,7 @@
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.201 2003/09/07 03:36:03 tgl Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.202 2003/09/27 09:21:26 petere Exp $
#
#-------------------------------------------------------------------------
@ -477,8 +477,12 @@ then
echo "The database cluster will be initialized with locale `pg_getlocale CTYPE`."
else
echo "The database cluster will be initialized with locales:"
echo " COLLATE: `pg_getlocale COLLATE`${TAB}CTYPE: `pg_getlocale CTYPE`${TAB}MESSAGES: `pg_getlocale MESSAGES`"
echo " MONETARY: `pg_getlocale MONETARY`${TAB}NUMERIC: `pg_getlocale NUMERIC`${TAB}TIME: `pg_getlocale TIME`"
echo " COLLATE: `pg_getlocale COLLATE`"
echo " CTYPE: `pg_getlocale CTYPE`"
echo " MESSAGES: `pg_getlocale MESSAGES`"
echo " MONETARY: `pg_getlocale MONETARY`"
echo " NUMERIC: `pg_getlocale NUMERIC`"
echo " TIME: `pg_getlocale TIME`"
fi
echo