man pg_wrapper (Commandes) - wrapper for PostgreSQL client commands

NAME

pg_wrapper - wrapper for PostgreSQL client commands

SYNOPSIS

client-program [--cluster version/cluster] [...]

(client-program: psql, createdb, dropuser, and all other client programs installed in CW/usr/lib/postgresql/versionCW/bin).

DESCRIPTION

This program is run only as a link to names which correspond to PostgreSQL programs in CW/usr/lib/postgresql/versionCW/bin. It determines the configured cluster and database for the user and calls the appropriate version of the desired program to connect to that cluster and database, supplying any specifed options to that command.

By default, the cluster is determined from the configuration files user_clusters(5) and postgresqlrc(5). However, this can be overriden by specifying the CW$PGCLUSTER environment variable or the --cluster version/cluster option.

ENVIRONMENT

PGCLUSTER
If CW$PGCLUSTER is set, its value (of the form version/cluster) specifies the desired cluster, similar to the --cluster option. However, if --cluster is specified, it overrides the value of CW$PGCLUSTER.

FILES

stores the default cluster and database for users and groups as set by the administrators. stores defaults set by the user himself.

SEE ALSO

AUTHOR

Martin Pitt <mpitt@debian.org>

CETTE PAGE DOCUMENTE AUSSI :