From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: PostgreSQL General <pgsql-general@postgresql.org>
Subject: Re: Weird behaviour of ROLLUP/GROUPING
Date: Thu, 17 Jan 2019 07:27:37 +0000
Message-ID: <87imyniwbj.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAECtzeWeLfm3_VOg5RzNVAgh5Zs051qrkoOmMZTk65cS_tZ8PA@mail.gmail.com>
References: <CAECtzeVSO_US8C2Khgfv54ZMUOBR4sWq+6_bLrETnWExHT=rFg@mail.gmail.com>
<874la8lhvp.fsf@news-spur.riddles.org.uk>
<87r2dck1dn.fsf@news-spur.riddles.org.uk>
<CAECtzeWeLfm3_VOg5RzNVAgh5Zs051qrkoOmMZTk65cS_tZ8PA@mail.gmail.com>
>>>>> "Guillaume" == Guillaume Lelarge <guillaume@lelarge.info> writes:
>> I will see about fixing this, somehow.
Guillaume> Thanks a lot.
I've committed a fix (to all supported branches, since this bug actually
precedes the addition of GROUPING SETS and can be triggered with a
simple GROUP BY if you try hard enough). The regression test says it
works now, but it'd be good if you could try it again on REL_11_STABLE
(at commit e74d8c5085 or later) to check that it fixes your case.
--
Andrew (irc:RhodiumToad)
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-general@postgresql.org
Cc: andrew@tao11.riddles.org.uk, guillaume@lelarge.info
Subject: Re: Weird behaviour of ROLLUP/GROUPING
In-Reply-To: <87imyniwbj.fsf@news-spur.riddles.org.uk>
References: <CAECtzeVSO_US8C2Khgfv54ZMUOBR4sWq+6_bLrETnWExHT=rFg@mail.gmail.com> <874la8lhvp.fsf@news-spur.riddles.org.uk> <87r2dck1dn.fsf@news-spur.riddles.org.uk> <CAECtzeWeLfm3_VOg5RzNVAgh5Zs051qrkoOmMZTk65cS_tZ8PA@mail.gmail.com> <87imyniwbj.fsf@news-spur.riddles.org.uk>
* 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