Skip to content
Snippets Groups Projects
Commit ab490975 authored by Christoph Berg's avatar Christoph Berg :satellite:
Browse files

pg_wrapper: Document that PGHOST overrides PGCLUSTER. (Closes: #697291)

parent b3bc8fd6
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ postgresql-common (139) UNRELEASED; urgency=low ...@@ -13,6 +13,7 @@ postgresql-common (139) UNRELEASED; urgency=low
the ipv6 for perl <= 5.10 (i.e. on squeeze and lucid). the ipv6 for perl <= 5.10 (i.e. on squeeze and lucid).
* PgCommon.pm, pg_ctlcluster, pg_createcluster, t/030_errors.t: 9.3 renames * PgCommon.pm, pg_ctlcluster, pg_createcluster, t/030_errors.t: 9.3 renames
unix_socket_directory to unix_socket_directories. unix_socket_directory to unix_socket_directories.
* pg_wrapper: Document that PGHOST overrides PGCLUSTER. (Closes: #697291)
[ Martin Pitt ] [ Martin Pitt ]
* debian/supported-versions: Read /etc/os-release if present, and fall back * debian/supported-versions: Read /etc/os-release if present, and fall back
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# /etc/postgresql-common/user_clusters. # /etc/postgresql-common/user_clusters.
# #
# (C) 2005-2009 Martin Pitt <mpitt@debian.org> # (C) 2005-2009 Martin Pitt <mpitt@debian.org>
# (C) 2013 Christoph Berg <myon@debian.org>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -173,23 +174,29 @@ explicit specification with the B<--cluster> option ...@@ -173,23 +174,29 @@ explicit specification with the B<--cluster> option
=item 2. =item 2.
explicit specification with the B<PGCLUSTER> environment variable if the B<PGHOST> environment variable is set, no further cluster selection is
performed. The default PostgreSQL version and port number (from the environment
variable B<PGPORT>, or default 5432) will be used.
=item 3. =item 3.
explicit specification with the B<PGCLUSTER> environment variable
=item 4.
matching entry in C<~/.postgresqlrc> (see L<postgresqlrc(5)>), if that matching entry in C<~/.postgresqlrc> (see L<postgresqlrc(5)>), if that
file exists file exists
=item 4. =item 5.
matching entry in C</etc/postgresql-common/user_clusters> (see matching entry in C</etc/postgresql-common/user_clusters> (see
L<user_clusters(5)>), if that file exists L<user_clusters(5)>), if that file exists
=item 5. =item 6.
If only one local cluster exists, that one will be selected. If only one local cluster exists, that one will be selected.
=item 6. =item 7.
If several local clusters exist, the one listening on the default port 5432 If several local clusters exist, the one listening on the default port 5432
will be selected. will be selected.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment