[asterisk-bugs] [JIRA] (ASTERISK-23737) application_name support in cdr_pgsql and res_config_pgsql

Gergely Dömsödi (JIRA) noreply at issues.asterisk.org
Fri Jun 6 03:45:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219114#comment-219114 ] 

Gergely Dömsödi commented on ASTERISK-23737:
--------------------------------------------

[~wdoekes]: Have you looked at the patch I submitted today? That doesn't have the problems You mentioned I think.

By the way, I think this shouldn't be hardcoded into asterisk code, because there could be cases when a user is running more asterisks on the same box, which connect to the same db. By looking at the application name, the two instances are easily recognizable.

> application_name support in cdr_pgsql and res_config_pgsql
> ----------------------------------------------------------
>
>                 Key: ASTERISK-23737
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23737
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: CDR/cdr_pgsql, Resources/res_config_pgsql
>    Affects Versions: 1.8.27.0, 11.9.0
>            Reporter: Gergely Dömsödi
>            Assignee: Matt Jordan
>            Severity: Minor
>         Attachments: 01-res_pgsql_application_name_support.patch, pgsql_application_name.patch
>
>
> Postgresql supports application_name connection parameter to ease the identification of client processes. The attached patch makes use of this feature both in cdr_pgsql.c and res_config_pgsql.c.
> As a side effect, cdr_pgsql.c is updated to use the newer postrgesql connection mechanism which res_config_pgsql uses.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list