mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 04:43:44 +00:00
extconfig: Allow explicit DB result set ordering to be disabled.
Added a new boolean configuration flag -
`order_multi_row_results_by_initial_column` - to both res_pgsql.conf
and res_config_odbc.conf that allows the administrator to disable the
explicit `ORDER BY` that was previously being added to all generated
SQL statements that returned multiple rows.
Fixes: #179
(cherry picked from commit 1171beb7e4)
This commit is contained in:
committed by
Asterisk Development Team
parent
f287e8fce4
commit
7e8aadae5a
@@ -28,3 +28,9 @@ dbpass=password
|
||||
; createchar - Create char columns only
|
||||
;
|
||||
requirements=warn
|
||||
|
||||
; When multiple rows are requested by realtime, res_config_pgsql will add an
|
||||
; explicit ORDER BY clause to the generated SELECT statement. To prevent
|
||||
; that from occuring, set order_multi_row_results_by_initial_column to 'no'.
|
||||
;
|
||||
;order_multi_row_results_by_initial_column=no
|
||||
|
||||
Reference in New Issue
Block a user