diff options
author | Tom Lane | 2001-01-27 00:05:31 +0000 |
---|---|---|
committer | Tom Lane | 2001-01-27 00:05:31 +0000 |
commit | 1dc30510884f7f654188b1186988929ab812fd04 (patch) | |
tree | dd27be567bdd8eff3a8433f5b8607d987dce1d97 /src/include/miscadmin.h | |
parent | 1c63587f24304ec5dfd8b1f6aa236f19b3bdd63e (diff) |
Re-read Unix-socket lock file every so often (every CheckPoint interval,
actually) to ensure that its file access time doesn't get old enough to
tempt a /tmp directory cleaner to remove it. Still another reason we
should never have put the sockets in /tmp in the first place ...
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 93b153c4a16..fa73145787b 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.79 2001/01/24 19:43:19 momjian Exp $ + * $Id: miscadmin.h,v 1.80 2001/01/27 00:05:31 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -280,6 +280,7 @@ extern ProcessingMode Mode; extern bool CreateDataDirLockFile(const char *datadir, bool amPostmaster); extern bool CreateSocketLockFile(const char *socketfile, bool amPostmaster); +extern void TouchSocketLockFile(void); extern void ValidatePgVersion(const char *path); |