aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 16:15:40 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 16:15:40 +0000
commita408b0dae26e4dbc72d3e1aebe2d3ff53bf1a0d5 (patch)
tree31ef43f6c23cbd586948b4546472c19425551971 /configs
parenta1f6856a56e05b4f15d507e2a0b096e172b58826 (diff)
Merged revisions 265894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r265894 | tilghman | 2010-05-26 11:14:48 -0500 (Wed, 26 May 2010) | 8 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.2@265895 f38db490-d61c-443f-a65b-d21fe96a405b
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.