external_pid_file
A configuration parameter specifying the location of an optional additional pidfile
external_pid_file
is a configuration parameter specifying the location of an optional additional pidfile.
external_pid_file
was added in PostgreSQL 8.0.
Usage
external_pid_file
is intended for use by the operating system (e.g. systemd) if a copy of the postmaster PID is required in a specific location.
In contrast to postmaster.pid, the pidfile generated contains just the postmaster PID, followed by a newline.
Default value
The default value for external_pid_file
is: ''
(empty string).
Change history
- PostgreSQL 9.2
- the generated file will be made world-readable (commit 223d14a9)
- PostgreSQL 8.0
References
- PostgreSQL documentation: external_pid_file
Categories
See also
postmaster, postmaster.pid