From 31cf0d6bacc3ae4103966a7ba47ed429b19364d9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 5 May 2004 16:09:56 +0000 Subject: [PATCH] Unset PGCLIENTENCODING to prevent backend from dying if it's set to something incompatible with the -E option. --- src/bin/initdb/initdb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index 07ff82ec93..e664ba3ede 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -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 -- 2.50.0