11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.162 2000/08/2909:36:41 petere Exp $
14
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.163 2000/08/2916:40:19 tgl Exp $
15
15
*
16
16
* NOTES
17
17
*
@@ -278,7 +278,7 @@ checkDataDir(const char *DataDir)
278
278
fprintf (stderr ,"%s does not know where to find the database system "
279
279
"data. You must specify the directory that contains the "
280
280
"database system either by specifying the -D invocation "
281
- "option or by setting the PGDATA environment variable.\n\n" ,
281
+ "option or by setting the PGDATA environment variable.\n\n" ,
282
282
progname );
283
283
exit (2 );
284
284
}
@@ -289,11 +289,10 @@ checkDataDir(const char *DataDir)
289
289
fp = AllocateFile (path ,PG_BINARY_R );
290
290
if (fp == NULL )
291
291
{
292
- fprintf (stderr ,"%s does not find the database system. "
293
- "Expected to find it "
294
- "in the PGDATA directory \"%s\", but unable to open file "
295
- "with pathname \"%s\".\n\n" ,
296
- progname ,DataDir ,path );
292
+ fprintf (stderr ,"%s does not find the database system."
293
+ "\n\tExpected to find it in the PGDATA directory \"%s\","
294
+ "\n\tbut unable to open file \"%s\": %s\n\n" ,
295
+ progname ,DataDir ,path ,strerror (errno ));
297
296
exit (2 );
298
297
}
299
298