aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-01-08 06:01:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-01-08 06:01:21 +0000
commit92ff092d403244825126371d4db617141c595af7 (patch)
tree1cadb50960c6cc14b1dc9128ac2933dd5d4513b8 /src
parent77f140008b58361f6ed4b7b70ad06c79703709f7 (diff)
downloadpostgresql-92ff092d403244825126371d4db617141c595af7.tar.gz
postgresql-92ff092d403244825126371d4db617141c595af7.zip
[Forced commit to add log message that I fat-fingered last time]
Give a more reasonable error message when lock file exists but has zero length; prior code confused this with could-not-read-file case.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/init/miscinit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/utils/init/miscinit.c b/src/backend/utils/init/miscinit.c
index 82a6d277729..b2ed8a58d32 100644
--- a/src/backend/utils/init/miscinit.c
+++ b/src/backend/utils/init/miscinit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.118 2004/01/07 23:03:06 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.119 2004/01/08 06:01:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -23,7 +23,6 @@
#include <unistd.h>
#include <grp.h>
#include <pwd.h>
-#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef HAVE_UTIME_H