There are a variety of ways to start and stop the PostgreSQL server. In earlier chapters, you used the pg_ctl command to perform server startup and shutdown. pg_ctl is a shell script that controls the postmaster; in some circumstances, you may want to bypass pg_ctl and interact directly with the postmaster. You'll learn how to do that in the next chapter.
In most cases, you will want the postmaster to start when your host system boots. You'll also want the postmaster to shut down gracefully whenever the host is powered down. The method you use to accomplish this varies with the host operating system. In Chapter 21, you'll learn how to arrange for boot-time startup and graceful shutdown for a few of the more common operating systems.
Part I: General PostgreSQL Use
Introduction to PostgreSQL and SQL
Working with Data in PostgreSQL
PostgreSQL SQL Syntax and Use
Performance
Part II: Programming with PostgreSQL
Introduction to PostgreSQL Programming
Extending PostgreSQL
PL/pgSQL
The PostgreSQL C APIlibpq
A Simpler C APIlibpgeasy
The New PostgreSQL C++ APIlibpqxx
Embedding SQL Commands in C Programsecpg
Using PostgreSQL from an ODBC Client Application
Using PostgreSQL from a Java Client Application
Using PostgreSQL with Perl
Using PostgreSQL with PHP
Using PostgreSQL with Tcl and Tcl/Tk
Using PostgreSQL with Python
Npgsql: The .NET Data Provider
Other Useful Programming Tools
Part III: PostgreSQL Administration
Introduction to PostgreSQL Administration
PostgreSQL Administration
Internationalization and Localization
Security
Replicating PostgreSQL Data with Slony
Contributed Modules
Index