From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add support for collation attributes on older ICU versions
Date: Tue, 19 Mar 2019 08:32:04 -0700
Message-ID: <20190319153204.ske4achkx7zsok5u@alap3.anarazel.de> (raw)
In-Reply-To: <7c37a038-c132-dde9-1a39-5132c628075e@2ndquadrant.com>
References: <E1h5QWH-0004aV-Ua@gemulon.postgresql.org>
<20190318190351.bkgkrgr6frnv3cxr@alap3.anarazel.de>
<7c37a038-c132-dde9-1a39-5132c628075e@2ndquadrant.com>
On 2019-03-19 09:49:14 +0100, Peter Eisentraut wrote:
> On 2019-03-18 20:03, Andres Freund wrote:
> > I now get this warning:
> >
> > /home/andres/src/postgresql/src/backend/utils/adt/pg_locale.c:1680:14: warning: comparison of constant -1 with expression of type 'UColAttribute' is always true [-Wtautological-constant-out-of-range-compare]
> > if (uattr != -1 && uvalue != -1)
> > ~~~~~ ^ ~~
>
> I found a bug in that code and restructured it a bit. It should also
> avoid this warning now.
Thanks.
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: andres@anarazel.de, peter.eisentraut@2ndquadrant.com
Subject: Re: pgsql: Add support for collation attributes on older ICU versions
In-Reply-To: <20190319153204.ske4achkx7zsok5u@alap3.anarazel.de>
References: <E1h5QWH-0004aV-Ua@gemulon.postgresql.org> <20190318190351.bkgkrgr6frnv3cxr@alap3.anarazel.de> <7c37a038-c132-dde9-1a39-5132c628075e@2ndquadrant.com> <20190319153204.ske4achkx7zsok5u@alap3.anarazel.de>
* 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