8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b51c92 commit fe36d46Copy full SHA for fe36d46
src/backend/utils/init/postinit.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.16 1997/11/07 20:51:58 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.17 1997/11/10 15:15:40 thomas Exp $
11
76F5 *
12
* NOTES
13
* InitPostgres() is the function called from PostgresMain
@@ -168,6 +168,8 @@ VerifySystemDatabase()
168
int fd;
169
char errormsg[1000];
170
171
+ errormsg[0] = '\0';
172
+
173
if ((fd = open(DataDir, O_RDONLY, 0)) == -1)
174
sprintf(errormsg, "Database system does not exist. "
175
"PGDATA directory '%s' not found.\n\tNormally, you "
0 commit comments