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

Lines changed: 7 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy