[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-committers
Subject:    pgsql: Fix compiler warnings in multivariate MCV code
From:       Tomas Vondra <tomas.vondra () postgresql ! org>
Date:       2019-03-30 18:47:34
Message-ID: E1hAJ0w-0006pT-JS () gemulon ! postgresql ! org
[Download RAW message or body]

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(-)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic