From 249c3d730e632b3c5b8c2bf5e6e871d61df15c6c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 4 Nov 2012 05:32:53 -0500 Subject: [PATCH] Fixed #19090 - Added PostgreSQL connection note. Thanks Melevir for the patch. --- docs/ref/databases.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -------------------------------------