From: Tom Lane Date: Tue, 16 Jul 2002 17:48:46 +0000 (+0000) Subject: Add initdb code to set up initial contents of pg_depend, pinning all X-Git-Tag: REL7_3~1189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14f158835618216cf0ef9bc8862ecb1b3fe09d90;p=postgresql 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). --- 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 <