mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Unset PGCLIENTENCODING to prevent backend from dying if it's set
to something incompatible with the -E option.
This commit is contained in:
@ -27,7 +27,7 @@
|
|||||||
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
# Portions Copyright (c) 1994, Regents of the University of California
|
# Portions Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.204.2.2 2004/04/29 19:56:35 tgl Exp $
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.204.2.3 2004/05/05 16:09:56 tgl Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -622,6 +622,8 @@ then
|
|||||||
BOOTSTRAP_TALK_ARG="-d 5"
|
BOOTSTRAP_TALK_ARG="-d 5"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
unset PGCLIENTENCODING
|
||||||
|
|
||||||
$ECHO_N "creating template1 database in $PGDATA/base/1... "$ECHO_C
|
$ECHO_N "creating template1 database in $PGDATA/base/1... "$ECHO_C
|
||||||
|
|
||||||
rm -rf "$PGDATA"/base/1 || exit_nicely
|
rm -rf "$PGDATA"/base/1 || exit_nicely
|
||||||
|
Reference in New Issue
Block a user