pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Multirange datatypes
Date: Mon, 21 Dec 2020 14:31:44 +0300
Message-ID: <CAPpHfdvO7xF2VGzjSOc---ruxGoAAxjVqHTtXW_2yLTSs=g1MA@mail.gmail.com> (raw)
In-Reply-To: <X+BP8XE0UpIB6Yvh@paquier.xyz>
References: <E1kqqDc-0004FM-5a@gemulon.postgresql.org>
	<X+BP8XE0UpIB6Yvh@paquier.xyz>

Hi, Michael!

On Mon, Dec 21, 2020 at 10:34 AM Michael Paquier <michael@paquier.xyz> wrote:
> On Sun, Dec 20, 2020 at 04:21:16AM +0000, Alexander Korotkov wrote:
> > Multirange datatypes
> >
> > Multiranges are basically sorted arrays of non-overlapping ranges with
> > set-theoretic operations defined over them.
>
> This commit is creating a compilation warning on Windows:
> multirangetypes.c(1033): warning C4715: 'multirange_constructor0' :
> not all control paths return a value
>
> See for example woodlouse:
> https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=woodlouse&dt=2020-12-21%2001%3A42%...
>
> Looking at the code, it is obvious that the compiler cannot understand
> that this should always return.  Please find attached a suggestion of
> patch.

Thank you for catching this!  Pushed.

------
Regards,
Alexander Korotkov





view thread (19+ messages)  latest in thread

Message-ID: <CAPpHfdvO7xF2VGzjSOc---ruxGoAAxjVqHTtXW_2yLTSs=g1MA@mail.gmail.com>
Permalink:  ../CAPpHfdvO7xF2VGzjSOc---ruxGoAAxjVqHTtXW_2yLTSs=g1MA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAPpHfdvO7xF2VGzjSOc---ruxGoAAxjVqHTtXW_2yLTSs=g1MA@mail.gmail.com

 · 

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: aekorotkov@gmail.com, michael@paquier.xyz, akorotkov@postgresql.org
  Subject: Re: pgsql: Multirange datatypes
  In-Reply-To: <CAPpHfdvO7xF2VGzjSOc---ruxGoAAxjVqHTtXW_2yLTSs=g1MA@mail.gmail.com>
  References: <E1kqqDc-0004FM-5a@gemulon.postgresql.org> <X+BP8XE0UpIB6Yvh@paquier.xyz> <CAPpHfdvO7xF2VGzjSOc---ruxGoAAxjVqHTtXW_2yLTSs=g1MA@mail.gmail.com>

* 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