diff options
author | Bruce Momjian | 2010-12-31 22:24:26 +0000 |
---|---|---|
committer | Bruce Momjian | 2010-12-31 22:25:02 +0000 |
commit | 30aeda439456d14e713a5693461bcd62035f1d9d (patch) | |
tree | 729144557a95458fa2620c5191822699be7a59d4 /src/include/miscadmin.h | |
parent | 39c8dd66204ebfea9c1c6a7a9ca38b7419dbe8a1 (diff) |
Include the first valid listen address in pg_ctl to improve server start
"wait" detection and add postmaster start time to help determine if the
postmaster is actually using the specified data directory.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index ddba50cafae..b2a8d820793 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -348,11 +348,11 @@ extern PGDLLIMPORT bool process_shared_preload_libraries_in_progress; extern char *shared_preload_libraries_string; extern char *local_preload_libraries_string; +#define LOCK_FILE_LINES 7 extern void CreateDataDirLockFile(bool amPostmaster); extern void CreateSocketLockFile(const char *socketfile, bool amPostmaster); extern void TouchSocketLockFile(void); -extern void RecordSharedMemoryInLockFile(unsigned long id1, - unsigned long id2); +extern void AddToLockFile(int target_line, const char *str); extern void ValidatePgVersion(const char *path); extern void process_shared_preload_libraries(void); extern void process_local_preload_libraries(void); |