File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.74 2000/11/30 08:46:25 vadim Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.75 2000/12/14 23:51:35 wieck Exp $
1212 *
1313 *
1414 *-------------------------------------------------------------------------
@@ -115,8 +115,12 @@ ReverifyMyDatabase(const char *name)
115115 */
116116 dbform = (Form_pg_database ) GETSTRUCT (tup );
117117 if (! dbform -> datallowconn )
118+ {
119+ heap_endscan (pgdbscan );
120+ heap_close (pgdbrel , AccessShareLock );
118121 elog (FATAL , "Database \"%s\" is not currently accepting connections" ,
119122 name );
123+ }
120124
121125 /*
122126 * OK, we're golden. Only other to-do item is to save the MULTIBYTE
You can’t perform that action at this time.
0 commit comments