pgsql: Support non-btree indexes in get_actual_variable_range()

Поиск
Список
Период
Сортировка
Искать

pgsql: Support non-btree indexes in get_actual_variable_range()

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
Support non-btree indexes in get_actual_variable_range()

This was previously not supported because the btree strategy numbers
were hardcoded.  Now we can support this for any index that has the
required strategy mapping support and the required operators.

If an index scan used for get_actual_variable_range() requires
recheck, we now just ignore it instead of erroring out.  With btree we
knew this couldn't happen, but now it might.

Author: Mark Dilger 
Co-authored-by: Peter Eisentraut 
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9ef1851685b718264de47bf543505cf3ec25aaea

Modified Files
--------------
src/backend/utils/adt/selfuncs.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)

FAQ