summaryrefslogtreecommitdiff
path: root/docs/ref/settings.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-12-11 16:30:07 -0500
committerTim Graham <timograham@gmail.com>2012-12-11 16:34:17 -0500
commit0eed8ece320a8a0334c78abc43c82fdb9f1f9827 (patch)
treecae61a9ce286b207e91e0707ac4103e6a9f21981 /docs/ref/settings.txt
parent7e97f4f510b2972c867ae7674fc40134413c16ab (diff)
Fixed #19377 - Emphasized database host link in tutorial
Diffstat (limited to 'docs/ref/settings.txt')
-rw-r--r--docs/ref/settings.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index b17f88ab4a..2177945d22 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -431,10 +431,12 @@ MySQL will connect via a Unix socket to the specified socket. For example::
If you're using MySQL and this value *doesn't* start with a forward slash, then
this value is assumed to be the host.
-If you're using PostgreSQL, an empty string means to use a Unix domain socket
-for the connection, rather than a network connection to localhost. If you
-explicitly need to use a TCP/IP connection on the local machine with
-PostgreSQL, specify ``localhost`` here.
+If you're using PostgreSQL, 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.
.. setting:: NAME