summaryrefslogtreecommitdiff
path: root/configs/cel_pgsql.conf.sample
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-07-16 13:55:36 +0000
committerMatthew Jordan <mjordan@digium.com>2014-07-16 13:55:36 +0000
commit03e9c598e5fe2274e0e171519c5ac52738c65b14 (patch)
treee532af6b6244b867b0f1470bc7cee7790b758a42 /configs/cel_pgsql.conf.sample
parentfee789dddbe0fe5791d42773e2293b693624e961 (diff)
cel_pgsql, cdr_pgsql, res_config_pgsql: Add PostgreSQL application_name support
This patch adds support for the PostgreSQL application_name connection setting. When the appropriate PostgreSQL module's configuration is set with an application name, the name will be passed to PostgreSQL on connection and displayed in the database's pg_stat_activity view, as well as in CSV logs. This aids in managing which applications/servers are connected to a PostgreSQL database, as well as tracing the activity of those connections. Review: https://reviewboard.asterisk.org/r/3591 ASTERISK-23737 #close Reported by: Gergely Domodi patches: pgsql_application_name.patch uploaded by Gergely Domodi (License 6610) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/cel_pgsql.conf.sample')
-rw-r--r--configs/cel_pgsql.conf.sample3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/cel_pgsql.conf.sample b/configs/cel_pgsql.conf.sample
index cc9b9ff91..10e3285ec 100644
--- a/configs/cel_pgsql.conf.sample
+++ b/configs/cel_pgsql.conf.sample
@@ -64,4 +64,5 @@
;dbname=asterisk
;password=password
;user=postgres
-;table=cel ;SQL table where CEL's will be inserted
+;table=cel ; SQL table where CEL's will be inserted
+;appname=asterisk ; Postgres application_name support (optional). Whitespace not allowed.