Chapter 19. PostgreSQL Administration

This chapter explores the role of the PostgreSQL administrator. You start by looking at the on-disk organization of a typical PostgreSQL installation. Next, you'll see how to install PostgreSQL from source code or from prebuilt binaries on Unix and Windows hosts. After that, you'll learn how to create new database clusters and new databases. We will also talk about managing user accounts and managing user groups. Then, you will see how to arrange for the database server to start up automatically when you boot your system (and how to shut down gracefully when you halt your system). We'll finish this chapter by discussing your options for backup and recovery.

    Part II: Programming with PostgreSQL