
NAME
initlocation - PostgreSQL
SYNOPSIS
initlocation directory
DESCRIPTION
initlocation PostgreSQL CREATE DATABASE [create_database(7)]
su
EXAMPLES
$ export PGDATA2=/opt/postgres/data
postmasterPGDATA2 postmasterPGDATA2 :
$ initlocation PGDATA2
$ createdb -D PGDATA2 testdb
$ initlocation /opt/postgres/data
$ createdb -D /opt/postgres/data/testdb testdb
Postgresql <laser@pgsqldb.org>