mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 17:41:14 +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:
parent
d57af54ffa
commit
31cf0d6bac
@ -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.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"
|
||||
fi
|
||||
|
||||
unset PGCLIENTENCODING
|
||||
|
||||
$ECHO_N "creating template1 database in $PGDATA/base/1... "$ECHO_C
|
||||
|
||||
rm -rf "$PGDATA"/base/1 || exit_nicely
|
||||
|
Loading…
x
Reference in New Issue
Block a user