@ -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.199 2003/07/27 04:35:53 momjian Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.200 2003/08/26 15:38:25 tgl Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
@ -586,8 +586,8 @@ $ECHO_N "creating configuration files... "$ECHO_C
cp " $PG_HBA_SAMPLE " " $PGDATA " /pg_hba.conf || exit_nicely
cp " $PG_HBA_SAMPLE " " $PGDATA " /pg_hba.conf || exit_nicely
cp " $PG_IDENT_SAMPLE " " $PGDATA " /pg_ident.conf || exit_nicely
cp " $PG_IDENT_SAMPLE " " $PGDATA " /pg_ident.conf || exit_nicely
sed -e " s/^#shared_buffers = 64 /shared_buffers = $nbuffers / " \
sed -e " s/^#shared_buffers = 1000 /shared_buffers = $nbuffers / " \
-e " s/^#max_connections = 32 /max_connections = $nconns / " \
-e " s/^#max_connections = 100 /max_connections = $nconns / " \
-e "s/^#lc_messages = 'C'/lc_messages = '`pg_getlocale MESSAGES`'/" \
-e "s/^#lc_messages = 'C'/lc_messages = '`pg_getlocale MESSAGES`'/" \
-e "s/^#lc_monetary = 'C'/lc_monetary = '`pg_getlocale MONETARY`'/" \
-e "s/^#lc_monetary = 'C'/lc_monetary = '`pg_getlocale MONETARY`'/" \
-e "s/^#lc_numeric = 'C'/lc_numeric = '`pg_getlocale NUMERIC`'/" \
-e "s/^#lc_numeric = 'C'/lc_numeric = '`pg_getlocale NUMERIC`'/" \