diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-27 21:49:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-27 21:49:55 +0000 |
commit | b556e8200e55261cf41de7ce8be4b38b0a062c2b (patch) | |
tree | 46ee8f2361510e4a530ab78e24275d25c1bc1599 /src/backend/tcop/postgres.c | |
parent | 606debf26833371b9ea56f297d9ec0d2ada534d5 (diff) | |
download | postgresql-b556e8200e55261cf41de7ce8be4b38b0a062c2b.tar.gz postgresql-b556e8200e55261cf41de7ce8be4b38b0a062c2b.zip |
elog mop-up: bring some straggling fprintf(stderr)'s into the elog world.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index ae4a50629f3..9b2324b220f 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.351 2003/07/22 19:00:11 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.352 2003/07/27 21:49:54 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2446,10 +2446,11 @@ PostgresMain(int argc, char *argv[], const char *username) { if (!potential_DataDir) { - fprintf(stderr, "%s does not know where to find the database system " - "data. You must specify the directory that contains the " - "database system either by specifying the -D invocation " - "option or by setting the PGDATA environment variable.\n\n", + fprintf(stderr, + gettext("%s does not know where to find the database system data.\n" + "You must specify the directory that contains the database system\n" + "either by specifying the -D invocation option or by setting the\n" + "PGDATA environment variable.\n"), argv[0]); proc_exit(1); } @@ -2567,8 +2568,7 @@ PostgresMain(int argc, char *argv[], const char *username) /* * Create lockfile for data directory. */ - if (!CreateDataDirLockFile(DataDir, false)) - proc_exit(1); + CreateDataDirLockFile(DataDir, false); XLOGPathInit(); BaseInit(); @@ -2626,7 +2626,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.351 $ $Date: 2003/07/22 19:00:11 $\n"); + puts("$Revision: 1.352 $ $Date: 2003/07/27 21:49:54 $\n"); } /* |