File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 11
11
*
12
12
* Copyright (c) 1994, Regents of the University of California
13
13
*
14
- * $Id: miscadmin.h,v 1.45 1999/10/23 03:13:30 tgl Exp $
14
+ * $Id: miscadmin.h,v 1.46 2000/01/09 12:19:27 ishii Exp $
15
15
*
16
16
* NOTES
17
17
* some of the information in this file will be moved to
@@ -195,4 +195,16 @@ extern bool IsNormalProcessingMode(void);
195
195
extern void SetProcessingMode (ProcessingMode mode );
196
196
extern ProcessingMode GetProcessingMode (void );
197
197
198
+ /*
199
+ * "postmaster.pid" is a file containing postmaster's pid, being
200
+ * created uder $PGDATA upon postmaster's starting up. When postmaster
201
+ * shuts down, it will be unlinked.
202
+ */
203
+ #define PIDFNAME "postmaster.pid"
204
+
205
+ extern void SetPidFname (char * datadir );
206
+ extern char * GetPidFname (void );
207
+ extern void UnlinkPidFile (void );
208
+ extern int SetPidFile (pid_t pid );
209
+
198
210
#endif /* MISCADMIN_H */
You can’t perform that action at this time.
0 commit comments