From 14f158835618216cf0ef9bc8862ecb1b3fe09d90 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 16 Jul 2002 17:48:46 +0000 Subject: [PATCH] Add initdb code to set up initial contents of pg_depend, pinning all objects created during initdb (except for the system views, which I think do not need to be pinned). --- src/bin/initdb/initdb.sh | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index 144dad4dba..9948bcd7fe 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.157 2002/07/12 18:43:18 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.158 2002/07/16 17:48:46 tgl Exp $ # #------------------------------------------------------------------------- @@ -697,6 +697,33 @@ fi echo "ok" +$ECHO_N "initializing pg_depend... "$ECHO_C + +"$PGPATH"/postgres $PGSQL_OPT template1 >/dev/null </dev/null <