From: Tom Lane <tgl@sss.pgh.pa.us>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Support FETCH FIRST WITH TIES
Date: Sat, 11 Apr 2020 14:47:34 -0400
Message-ID: <25206.1586630854@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOBaU_aLdPGU5wCpaowNLF-Q8328iR7mj1yJAhMOVsdLwY+sdg@mail.gmail.com>
References: <E1jLun1-0000uu-U9@gemulon.postgresql.org>
<CAOBaU_aLdPGU5wCpaowNLF-Q8328iR7mj1yJAhMOVsdLwY+sdg@mail.gmail.com>
Julien Rouhaud <rjuju123@gmail.com> writes:
> On Tue, Apr 7, 2020 at 10:28 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>> Support FETCH FIRST WITH TIES
> FTR I now get the following when compiling with -Wimplicit-fallthrough -Werror:
Yeah, assorted buildfarm animals are mentioning that too. I wonder
if we should add that to the default warning options selected by
configure? I don't remember if that's been discussed before.
> It seems that this fall-through comment:
> /* fall-through */
> Is not recognized by my compiler (gcc (Gentoo 9.3.0 p1) 9.3.0). If
> that's something we should fix, PFA a naive patch for that.
Hmm, I feel like this logic is baroque enough to need more of a rewrite
than that :-(. But not sure exactly what would be better, so your
patch seems reasonable for now. The comments could use some help too.
regards, tom lane
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: tgl@sss.pgh.pa.us, rjuju123@gmail.com, alvherre@alvh.no-ip.org
Subject: Re: pgsql: Support FETCH FIRST WITH TIES
In-Reply-To: <25206.1586630854@sss.pgh.pa.us>
References: <E1jLun1-0000uu-U9@gemulon.postgresql.org> <CAOBaU_aLdPGU5wCpaowNLF-Q8328iR7mj1yJAhMOVsdLwY+sdg@mail.gmail.com> <25206.1586630854@sss.pgh.pa.us>
* 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