# Definitions for Pathena and its PostgreSQL server configuration.

# This file is meant to be sourced by other scripts; it does nothing
# on its own.

# PostgreSQL files and directories are typically found in standard
# locations according to distribution type.  The following definitions
# are preconfigured for a binary distribution as would be provided
# by a built-in Linux installation.  If you have installed a source
# distribution of Postgres, comment out the first set of lines and
# uncomment the following set.  Adjust paths as needed.

# PostgreSQL directories for typical binary distribution in /usr

export PGBIN=/usr/bin
export PGSHARE=/usr/share/pgsql          # Red Hat
#export PGSHARE=/usr/share/postgresql     # SuSE

# Default PostgreSQL directories for source distribution in /usr/local

#export PGBIN=/usr/local/pgsql/bin
#export PGSHARE=/usr/local/pgsql/share


# Pathena uses a dedicated instance of the Postmaster, which is started
# listening on the following (nonstandard) TCP/IP socket port.  Postgres
# uses 5432 as the default port.  Listening on a different port allows
# Pathena to coexist with any existing Postgres servers.  If multiple
# instances of the Pathena server are running, each needs its own port.

export PGPORT=5439


# In case there are multiple versions of Python (needs 2.2 or later):

export PYTHONBIN=/usr/bin/python

