pgsql: Fix BRIN minmax-multi distance for interval type

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

pgsql: Fix BRIN minmax-multi distance for interval type

От:
Tomas Vondra <tomas.vondra@postgresql.org>
Дата:
Fix BRIN minmax-multi distance for interval type

The distance calculation for interval type was treating months as having
31 days, which is inconsistent with the interval comparator (using 30
days). Due to this it was possible to get negative distance (b-a) when
(a
FAQ