From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix compiler warnings in multivariate MCV code
Date: Sat, 30 Mar 2019 18:47:34 +0000
Message-ID: <E1hAJ0w-0006pT-JS@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@postgresql.org
Subject: Re: pgsql: Fix compiler warnings in multivariate MCV code
In-Reply-To: <E1hAJ0w-0006pT-JS@gemulon.postgresql.org>
References: <E1hAJ0w-0006pT-JS@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox