Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4af19a5

Browse files
committed
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.
1 parent 87cbcff commit 4af19a5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/bin/initdb/initdb.sh

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
2828
# Portions Copyright (c) 1994, Regents of the University of California
2929
#
30-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.201 2003/09/07 03:36:03 tgl Exp $
30+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.202 2003/09/27 09:21:26 petere Exp $
3131
#
3232
#-------------------------------------------------------------------------
3333

@@ -477,8 +477,12 @@ then
477477
echo "The database cluster will be initialized with locale `pg_getlocale CTYPE`."
478478
else
479479
echo "The database cluster will be initialized with locales:"
480-
echo " COLLATE: `pg_getlocale COLLATE`${TAB}CTYPE: `pg_getlocale CTYPE`${TAB}MESSAGES: `pg_getlocale MESSAGES`"
481-
echo " MONETARY: `pg_getlocale MONETARY`${TAB}NUMERIC: `pg_getlocale NUMERIC`${TAB}TIME: `pg_getlocale TIME`"
480+
echo " COLLATE: `pg_getlocale COLLATE`"
481+
echo " CTYPE: `pg_getlocale CTYPE`"
482+
echo " MESSAGES: `pg_getlocale MESSAGES`"
483+
echo " MONETARY: `pg_getlocale MONETARY`"
484+
echo " NUMERIC: `pg_getlocale NUMERIC`"
485+
echo " TIME: `pg_getlocale TIME`"
482486
fi
483487
echo
484488

0 commit comments

Comments
 (0)