Roadmap (Where's All My Stuff?)
I find it much easier to administer a product if I know where every component is located. With that in mind, let's explore the directory structure for a “standard” PostgreSQL installation.
When you install PostgreSQL, whether from an RPM (Red Hat Package Manager) or from source, it will be configured to install into a particular set of directories. The exact location for any given set of PostgreSQL files is determined when the package is built from source code.
When you build a copy of PostgreSQL from source code (more on that a little later), the —prefix= directory-name flag determines the installation directory. The default value for —prefix is /usr/local/pgsql. You can change this by supplying a different prefix ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access