It is possible to create a database in a location other than the
default location for the installation. Remember that all
database access actually occurs through the database backend, so
that any location specified must be accessible by the backend.
Alternate database locations are created and referenced by an
environment variable which gives the absolute path to the
intended storage location. This environment variable must have
been defined before the backend was started and must be writable
by the postgres administrator account. Any valid environment
variable name may be used to reference an alternate location,
although using variable name with a prefix of PGDATA is
recommended to avoid confusion and conflict with other
variables. Note: In previous versions of Postgres, it was also
permissable to use an absolute path name to specify an alternate
storage location. The environment variable style of
specification is to be preferred since it allows the site
administrator more flexibility in managing disk storag