PostgreSQL Source Code  git master
pidfile.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOCK_FILE_LINE_PID   1
 
#define LOCK_FILE_LINE_DATA_DIR   2
 
#define LOCK_FILE_LINE_START_TIME   3
 
#define LOCK_FILE_LINE_PORT   4
 
#define LOCK_FILE_LINE_SOCKET_DIR   5
 
#define LOCK_FILE_LINE_LISTEN_ADDR   6
 
#define LOCK_FILE_LINE_SHMEM_KEY   7
 
#define LOCK_FILE_LINE_PM_STATUS   8
 
#define PM_STATUS_STARTING   "starting" /* still starting up */
 
#define PM_STATUS_STOPPING   "stopping" /* in shutdown sequence */
 
#define PM_STATUS_READY   "ready " /* ready for connections */
 
#define PM_STATUS_STANDBY   "standby " /* up, won't accept connections */
 

Macro Definition Documentation

◆ LOCK_FILE_LINE_DATA_DIR

#define LOCK_FILE_LINE_DATA_DIR   2

Definition at line 38 of file pidfile.h.

◆ LOCK_FILE_LINE_LISTEN_ADDR

#define LOCK_FILE_LINE_LISTEN_ADDR   6

Definition at line 42 of file pidfile.h.

Referenced by PostmasterMain().

◆ LOCK_FILE_LINE_PID

#define LOCK_FILE_LINE_PID   1

Definition at line 37 of file pidfile.h.

Referenced by wait_for_postmaster().

◆ LOCK_FILE_LINE_PM_STATUS

#define LOCK_FILE_LINE_PM_STATUS   8

Definition at line 44 of file pidfile.h.

Referenced by pmdie(), PostmasterMain(), reaper(), sigusr1_handler(), and wait_for_postmaster().

◆ LOCK_FILE_LINE_PORT

#define LOCK_FILE_LINE_PORT   4

Definition at line 40 of file pidfile.h.

Referenced by get_sock_dir().

◆ LOCK_FILE_LINE_SHMEM_KEY

#define LOCK_FILE_LINE_SHMEM_KEY   7

Definition at line 43 of file pidfile.h.

Referenced by CreateLockFile(), and InternalIpcMemoryCreate().

◆ LOCK_FILE_LINE_SOCKET_DIR

#define LOCK_FILE_LINE_SOCKET_DIR   5

Definition at line 41 of file pidfile.h.

Referenced by get_sock_dir(), and PostmasterMain().

◆ LOCK_FILE_LINE_START_TIME

#define LOCK_FILE_LINE_START_TIME   3

Definition at line 39 of file pidfile.h.

Referenced by wait_for_postmaster().

◆ PM_STATUS_READY

#define PM_STATUS_READY   "ready " /* ready for connections */

Definition at line 53 of file pidfile.h.

Referenced by reaper(), sigusr1_handler(), and wait_for_postmaster().

◆ PM_STATUS_STANDBY

#define PM_STATUS_STANDBY   "standby " /* up, won't accept connections */

Definition at line 54 of file pidfile.h.

Referenced by sigusr1_handler(), and wait_for_postmaster().

◆ PM_STATUS_STARTING

#define PM_STATUS_STARTING   "starting" /* still starting up */

Definition at line 51 of file pidfile.h.

Referenced by PostmasterMain().

◆ PM_STATUS_STOPPING

#define PM_STATUS_STOPPING   "stopping" /* in shutdown sequence */

Definition at line 52 of file pidfile.h.

Referenced by pmdie().