MASTER_DATA_DIRECTORY

Optional Environment Variables

The following are standard PostgreSQL environment variables, which are
also recognized in Greenplum Database. You may want to add the
connection-related environment variables to your profile for
convenience, so you do not have to type so many options on the
command line for client connections. Note that these environment
variables should be set on the Greenplum Database master host
only.

PGAPPNAME

The name of the application that is usually set by an application
when it connects to the server. This name is displayed in
the activity view and in log entries. The PGAPPNAME
environmental variable behaves the same as the application_name connection parameter. The
default value for application_name is psql.
The name cannot be longer than 63 characters.

PGDATABASE

The name of the default database to use when connecting.

PGHOST

The Greenplum Database master host name.

PGHOSTADDR

The numeric IP address of the master host. This can be set
instead of or in addition to PGHOST to
avoid DNS lookup overhead.

PGPASSWORD

The password used if the server demands password authentication.
Use of this environment variable is not recommended for
security reasons (some operating systems allow non-root
users to see process environment variables via ps).
Instead consider using the ~/.pgpass
file.

PGPASSFILE

The name of the password file to use for lookups. If not set, it
defaults to ~/.pgpass. See the topic about The Password File in the PostgreSQL
documentation for more information.