]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_config_pgsql: Limit realtime_pgsql() to return one (no more) record.
authorBoris P. Korzun <drtr0jan@yandex.ru>
Mon, 15 Feb 2021 19:02:00 +0000 (22:02 +0300)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 25 Feb 2021 13:59:02 +0000 (07:59 -0600)
commitb046e960af54972b12a2aa3bdefe6c07b43d964a
tree80f3475d318303824519f148e5277f53dc03bf6b
parent4d8fc97e4ad86f5e50ec10a1e1819e9f90ba8534
res_config_pgsql: Limit realtime_pgsql() to return one (no more) record.

Added a SELECT 'LIMIT' clause to realtime_pgsql() and refactored the function.

ASTERISK-29293 #close

Change-Id: If5a6d4b1072ea2e6e89059b21139d554a74b34f5
res/res_config_pgsql.c