summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-11-04 05:32:53 -0500
committerTim Graham <timograham@gmail.com>2012-11-04 05:35:38 -0500
commit26e0651c42a70104d237b5433970158d27b244dc (patch)
tree81af7935bec0d1cc93c6f1a1e91be95c71bb3e44 /docs
parentb61778dcf642341c831041ab103ee0545eb8a1e6 (diff)
[1.5.X] Fixed #19090 - Added PostgreSQL connection note.
Thanks Melevir for the patch. Backport of 249c3d730e from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/databases.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 3a52f838e7..946d0f4f3b 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -33,6 +33,15 @@ aggregate with a database backend that falls within the affected release range.
.. _known to be faulty: http://archives.postgresql.org/pgsql-bugs/2007-07/msg00046.php
.. _Release 8.2.5: http://www.postgresql.org/docs/devel/static/release-8-2-5.html
+PostgreSQL connection settings
+------------------------------
+
+By default (empty :setting:`HOST`), the connection to the database is done
+through UNIX domain sockets ('local' lines in pg_hba.conf). If you want to
+connect through TCP sockets, set :setting:`HOST` to 'localhost' or '127.0.0.1'
+('host' lines in pg_hba.conf). On Windows, you should always define
+:setting:`HOST`, as UNIX domain sockets are not available.
+
Optimizing PostgreSQL's configuration
-------------------------------------