Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfe36d46

Browse files
author
Thomas G. Lockhart
committed
Add errormsg initialization from patch by Keith Parks.
1 parent2b51c92 commitfe36d46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/utils/init/postinit.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.16 1997/11/07 20:51:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.17 1997/11/10 15:15:40 thomas Exp $
1111
*
1212
* NOTES
1313
*InitPostgres() is the function called from PostgresMain
@@ -168,6 +168,8 @@ VerifySystemDatabase()
168168
intfd;
169169
charerrormsg[1000];
170170

171+
errormsg[0]='\0';
172+
171173
if ((fd=open(DataDir,O_RDONLY,0))==-1)
172174
sprintf(errormsg,"Database system does not exist. "
173175
"PGDATA directory '%s' not found.\n\tNormally, you "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp