pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: cyg0810@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17088: FailedAssertion in prepagg.c
Date: Wed, 7 Jul 2021 20:00:17 +0900
Message-ID: <YOWJQTovI//DNe8/@paquier.xyz> (raw)
In-Reply-To: <17088-e33882b387de7f5c@postgresql.org>
References: <17088-e33882b387de7f5c@postgresql.org>

On Wed, Jul 07, 2021 at 06:33:07AM +0000, PG Bug reporting form wrote:
> run the following sql command through client and the PostgreSQL database
> process will crash:
> 
> CREATE TEMP TABLE v0 ( v1 INT PRIMARY KEY ) ON COMMIT DELETE ROWS ; 
> SELECT FROM ( VALUES ( ( SELECT - - 84 FROM v0 LIMIT - -1 ) ) ) v1 ( v1 )
> GROUP BY ROLLUP ( v1 , v1 ) , ROLLUP ( ROW ( ) , ROW ( - - - - -128 ,
> 6099928.000000 ) , v1 ) ORDER BY v1 = v1 AND v1 = - - ( SELECT GROUPING ( v1
> ) GROUP BY v1 ) ASC FETCH FIRST ROWS WITH TIES

Reproduced here, thanks for the test case.  As far as I can see, this
is not limited to 14.
--
Michael

Attachments:

  [application/pgp-signature] signature.asc (832B, ../YOWJQTovI%2F%2FDNe8%2F@paquier.xyz/2-signature.asc)
  download

view thread (12+ messages)  latest in thread

Message-ID: <YOWJQTovI//DNe8/@paquier.xyz>
Permalink:  ../YOWJQTovI%2F%2FDNe8%2F@paquier.xyz/
Also on:    postgresql.org/message-id/YOWJQTovI//DNe8/@paquier.xyz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, cyg0810@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17088: FailedAssertion in prepagg.c
  In-Reply-To: <YOWJQTovI//DNe8/@paquier.xyz>

* 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