This page in other versions: Unsupported versions: 6.4 / 6.5 / 7.0

Starting postmaster

Nothing can happen to a database unless the postmaster process is running. As the site administrator, there are a number of things you should remember before starting the postmaster. These are discussed in the installation and configuration sections of this manual. However, if Postgres has been installed by following the installation instructions exactly as written, the following simple command is all you should need to start the postmaster:

% postmaster

The postmaster occasionally prints out messages which are often helpful during troubleshooting. If you wish to view debugging messages from the postmaster, you can start it with the -d option and redirect the output to the log file:

% postmaster -d >& pm.log &
If you do not wish to see these messages, you can type
% postmaster -S
and the postmaster will be "S"ilent. Notice that there is no ampersand ("&") at the end of the last example so postmaster will be running in the foreground.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group