Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit85b309e

Browse files
committed
Add SetPidFile() and friends.
1 parentac0d141 commit85b309e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

‎src/include/miscadmin.h

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* Copyright (c) 1994, Regents of the University of California
1313
*
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 $
1515
*
1616
* NOTES
1717
* some of the information in this file will be moved to
@@ -195,4 +195,16 @@ extern bool IsNormalProcessingMode(void);
195195
externvoidSetProcessingMode(ProcessingModemode);
196196
externProcessingModeGetProcessingMode(void);
197197

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+
#definePIDFNAME"postmaster.pid"
204+
205+
externvoidSetPidFname(char*datadir);
206+
externchar*GetPidFname(void);
207+
externvoidUnlinkPidFile(void);
208+
externintSetPidFile(pid_tpid);
209+
198210
#endif/* MISCADMIN_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp