Обсуждение: pgsql: Fix compiler warnings in multivariate MCV code

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

pgsql: Fix compiler warnings in multivariate MCV code

От
Tomas Vondra
Дата:
Fix compiler warnings in multivariate MCV code

Compiler warnings were observed on gcc 3.4.6 (on gaur).

The assert is unnecessary, as the indexes are uint16 and so always >= 0.

Reported-by: Tom Lane

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad3107b97324e0c8cf65932294115b6af9db8ded

Modified Files
--------------
src/backend/statistics/mcv.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)