OSDN Git Service

The formatting of the display of the locale names assumed that locale names
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 27 Sep 2003 09:21:26 +0000 (09:21 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 27 Sep 2003 09:21:26 +0000 (09:21 +0000)
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.

src/bin/initdb/initdb.sh

index 554a751..5d99b76 100644 (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