PostgreSQL 15 – Move Data Directory

PostgreSQL

The Postgres data directory, sometimes known by the environment variable $PGDATA that references it is the heart of your database cluster installation. We as Database Administrators should never touch files within the data directory (with very few exceptions), as we could harm the integrity of the database software or completely destroy the database itself. That

Read More