summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-05-07 22:32:50 +0000
committerRussell Bryant <russell@russellbryant.com>2007-05-07 22:32:50 +0000
commit5ad8cee6d71ce35e4a1970efad3583377b9aeff4 (patch)
tree907473bb35424b44fcefcaf0cbb4be1044e4bb6a /configs
parentb678b946c0d0b1de90c39910eb98d52824f5e0fc (diff)
Merged revisions 63329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r63329 | russell | 2007-05-07 17:28:50 -0500 (Mon, 07 May 2007) | 3 lines Add a sample configuration file and example tables for use with res_config_pgsql. (issue #9676, suretec) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/res_pgsql.conf.sample14
1 files changed, 14 insertions, 0 deletions
diff --git a/configs/res_pgsql.conf.sample b/configs/res_pgsql.conf.sample
new file mode 100644
index 000000000..1ec2293e2
--- /dev/null
+++ b/configs/res_pgsql.conf.sample
@@ -0,0 +1,14 @@
+;
+; Sample configuration for res_config_pgsql
+;
+; The value of dbhost may be either a hostname or an IP address.
+; If dbhost is commented out or the string "localhost", a connection
+; to the local host is assumed and dbsock is used instead of TCP/IP
+; to connect to the server.
+;
+[general]
+dbhost=127.0.0.1
+dbport=5432
+dbname=asterisk
+dbuser=asterisk
+dbpass=password