[asterisk-bugs] [JIRA] (ASTERISK-29293) res_config_pgsql: Limit realtime_pgsql() to return one (no more) record
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Oct 13 06:09:55 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-29293:
-------------------------------------
Target Release Version/s: 19.0.0
> res_config_pgsql: Limit realtime_pgsql() to return one (no more) record
> -----------------------------------------------------------------------
>
> Key: ASTERISK-29293
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29293
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_config_pgsql
> Affects Versions: 16.16.0, 18.2.0
> Reporter: Boris P. Korzun
> Assignee: Boris P. Korzun
> Target Release: 16.17.0, 18.3.0, 19.0.0
>
>
> There's no a SELECT {{LIMIT}} clause in {{realtime_pgsql()}}. But there's the limit in {{realtime_handler()}} at res_config_sqlite.
> It's needed to use {{realtime_multi_pgsql()}} for getting multiple rows from an SQL query.
> It's suggested to add {{LIMIT}} clause to {{realtime_pgsql()}} and refactor the function.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list