Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit267c6c7

Browse files
committed
Multi-byte case fix by Oliver Elphick (olly@lfix.co.uk)
1 parent0b14b0c commit267c6c7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/bin/scripts/createdb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
#
1313
# IDENTIFICATION
14-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.4 1999/12/16 20:10:02 momjian Exp $
14+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.5 2000/01/12 13:08:55 ishii Exp $
1515
#
1616
#-------------------------------------------------------------------------
1717

@@ -121,8 +121,10 @@ if [ "$usage" ]; then
121121
fi
122122

123123

124-
if ["$MB" ]
125-
thenif [-z"`pg_encoding'$MB'`" ]
124+
if [-n"$MB" ]
125+
then
126+
mbcode=`pg_encoding"$MB"`
127+
if [-z"$mbcode" ]
126128
then
127129
echo"$CMDNAME:\"$MB\" is not a valid encoding name."
128130
exit 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp