pg-setup
pg-setup — set up a newPostgres Pro database cluster
Synopsis
pg-setupinitdb
Description
pg-setup is a shell script provided in thePostgres Pro distribution to automate database cluster setup on Linux systems. This script is provided as part of the server package.pg-setup must be run as root, but performs database administration operations as userpostgres. You can only run this script with theinitdb option, without passing any additional arguments.
Options
pg-setup accepts the following command-line options:
initdbInitialize the database cluster on behalf of the
postgresuser.pg-setup creates the database cluster with checksums enabled,
auth-localparameter set topeer, andauth-hostparameter set tomd5. Localization settings are inherited from theLANGenvironment variable for the current session. All theLC_*environment variables are ignored.
Notes
For details on binary installation specifics on Linux, seeSection 16.1.