|
|
|
|
@ -23,7 +23,7 @@ |
|
|
|
|
# Portions Copyright (c) 1996-2001, 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.122 2001/03/13 21:37:15 petere Exp $ |
|
|
|
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.123 2001/03/27 05:45:50 ishii Exp $ |
|
|
|
|
# |
|
|
|
|
#------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
@ -311,6 +311,10 @@ then |
|
|
|
|
then |
|
|
|
|
echo "$CMDNAME: $MULTIBYTE is not a valid encoding name" 1>&2 |
|
|
|
|
exit 1 |
|
|
|
|
elif [ $MULTIBYTEID -gt 31 ] |
|
|
|
|
then |
|
|
|
|
echo "$CMDNAME: $MULTIBYTE cannot be used as a database encoding" 1>&2 |
|
|
|
|
exit 1 |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|