diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/miscadmin.h | 6 | ||||
-rw-r--r-- | src/include/utils/errcodes.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index d6ded84abd7..5fee7fc25f9 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.127 2003/07/27 17:10:07 tgl Exp $ + * $Id: miscadmin.h,v 1.128 2003/07/27 21:49:54 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -286,8 +286,8 @@ extern void InitPostgres(const char *dbname, const char *username); extern void BaseInit(void); /* in utils/init/miscinit.c */ -extern bool CreateDataDirLockFile(const char *datadir, bool amPostmaster); -extern bool CreateSocketLockFile(const char *socketfile, bool amPostmaster); +extern void CreateDataDirLockFile(const char *datadir, bool amPostmaster); +extern void CreateSocketLockFile(const char *socketfile, bool amPostmaster); extern void TouchSocketLockFile(void); extern void RecordSharedMemoryInLockFile(unsigned long id1, unsigned long id2); diff --git a/src/include/utils/errcodes.h b/src/include/utils/errcodes.h index 818b38318a5..a6f540fc42c 100644 --- a/src/include/utils/errcodes.h +++ b/src/include/utils/errcodes.h @@ -11,7 +11,7 @@ * * Copyright (c) 2003, PostgreSQL Global Development Group * - * $Id: errcodes.h,v 1.1 2003/07/27 18:37:52 tgl Exp $ + * $Id: errcodes.h,v 1.2 2003/07/27 21:49:54 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -297,6 +297,7 @@ /* Class F0 - Configuration File Error (PostgreSQL-specific error class) */ #define ERRCODE_CONFIG_FILE_ERROR MAKE_SQLSTATE('F','0', '0','0','0') +#define ERRCODE_LOCK_FILE_EXISTS MAKE_SQLSTATE('F','0', '0','0','1') /* Class XX - Internal Error (PostgreSQL-specific error class) */ /* (this is for "can't-happen" conditions and software bugs) */ |