summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-05-26 16:14:48 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-05-26 16:14:48 +0000
commit5c9fdd8666834fd046736db6e878b533d600efea (patch)
treeddd69b29d1d3295bbe5676b8df5d5e30591726b5 /configs
parent822423adb8b10509bed3a98b047415e696bcb833 (diff)
Construct socket name, according to the Postgres docs, and document as such.
(closes issue #17392) Reported by: dps Patches: 20100525__issue17392.diff.txt uploaded by tilghman (license 14) Tested by: dps git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@265894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/res_pgsql.conf.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/res_pgsql.conf.sample b/configs/res_pgsql.conf.sample
index cfb8538bd..b889244a7 100644
--- a/configs/res_pgsql.conf.sample
+++ b/configs/res_pgsql.conf.sample
@@ -13,6 +13,13 @@ dbname=asterisk
dbuser=asterisk
dbpass=password
;
+; dbsock is specified as the directory where the socket file may be found. The
+; actual socket is constructed as a combination of dbsock and dbport. For
+; example, the values of '/tmp' and '5432', respectively, will specify a socket
+; file of '/tmp/.s.PGSQL.5432'.
+;
+;dbsock=/tmp
+;
; requirements - At startup, each realtime family will make requirements
; on the backend. There are several strategies for handling requirements:
; warn - Warn if the required column does not exist.