pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Rijkers <er@xs4all.nl>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Multirange datatypes
Date: Sun, 20 Dec 2020 14:33:32 +0100
Message-ID: <97f7b1ac0edf2a550c33f437b7aa08c4@xs4all.nl> (raw)
In-Reply-To: <CAPpHfdtdFP27sDJhci=FggxM=qvRZEXfh5eFvK1u4vUw6wgWhA@mail.gmail.com>
References: <E1kqqDc-0004FM-5a@gemulon.postgresql.org>
	<56b48b3befafa2fbf8e576176cdd6107@xs4all.nl>
	<CAPpHfdtdFP27sDJhci=FggxM=qvRZEXfh5eFvK1u4vUw6wgWhA@mail.gmail.com>

On 2020-12-20 14:18, Alexander Korotkov 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.

Sorry, you're right, of course. I misread my output.

It occurs only without --enable-cassert

> 
> ------
> Regards,
> Alexander Korotkov





view thread (19+ messages)  latest in thread

Message-ID: <97f7b1ac0edf2a550c33f437b7aa08c4@xs4all.nl>
Permalink:  ../97f7b1ac0edf2a550c33f437b7aa08c4@xs4all.nl/
Also on:    postgresql.org/message-id/97f7b1ac0edf2a550c33f437b7aa08c4@xs4all.nl

 · 

reply

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: er@xs4all.nl, aekorotkov@gmail.com, akorotkov@postgresql.org
  Subject: Re: pgsql: Multirange datatypes
  In-Reply-To: <97f7b1ac0edf2a550c33f437b7aa08c4@xs4all.nl>
  References: <E1kqqDc-0004FM-5a@gemulon.postgresql.org> <56b48b3befafa2fbf8e576176cdd6107@xs4all.nl> <CAPpHfdtdFP27sDJhci=FggxM=qvRZEXfh5eFvK1u4vUw6wgWhA@mail.gmail.com> <97f7b1ac0edf2a550c33f437b7aa08c4@xs4all.nl>

* 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