Re: pgsql: Multirange datatypes - Mailing list pgsql-committers

From Alexander Korotkov
Subject Re: pgsql: Multirange datatypes
Date
Msg-id CAPpHfdsKy6Lu6UYMocxi=kWPpcf1qwy9nOL3Mt0K1WS8_5n5aA@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Multirange datatypes  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-committers
On Sun, Dec 20, 2020 at 4:18 PM Alexander Korotkov <aekorotkov@gmail.com> wrote:
> On Sun, Dec 20, 2020 at 9:06 AM Erik Rijkers <er@xs4all.nl> wrote:
> > On 2020-12-20 05:21, Alexander Korotkov wrote:
> > > Multirange datatypes
> > >
> > > Multiranges are basically sorted arrays of non-overlapping ranges with
> > > set-theoretic operations defined over them.
> > >
> >
> > With  --enable-cassert  gcc 10.1.0 gives me:
> >
> > typecmds.c: In function ‘DefineRange’:
> > typecmds.c:1367:16: warning: variable ‘mltrngaddress’ set but not used
> > [-Wunused-but-set-variable]
> >   1367 |  ObjectAddress mltrngaddress;
> >        |                ^~~~~~~~~~~~~
>
> Thank you.  But are you sure that happened with --enable-cassert?
> I've reproduced this only without --enable-cassert.  And that seems
> reasonable, because there is an assert, which uses this variable.

Warning arising without --enable-cassert should be fixed by
11072e8693.  Let me know if the problem persists for you.

------
Regards,
Alexander Korotkov



pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Fix compiler warning introduced in 6df7a9698b
Next
From: Erik Rijkers
Date:
Subject: Re: pgsql: Multirange datatypes