Re: BUG #19078: Segfaults in tts_minimal_store_tuple() following pg_upgrade

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Yuri Zamyatin <yuri(at)yrz(dot)am>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Amit Langote <amitlangote09(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19078: Segfaults in tts_minimal_store_tuple() following pg_upgrade
Date: 2025-10-17 22:24:01
Message-ID: CAApHDvo+Pf6mwkGjhF+EQ+-ZjUUT6yc4BnR0LL83UU_QEC_Y2w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, 18 Oct 2025 at 11:18, Yuri Zamyatin <yuri(at)yrz(dot)am> wrote:
> Nice, should I still try to reproduce the bug
> with assertions and the patch you provided?

I think I've got it. I can get the Asserts in the patch to fail with:

drop table if exists ab;
create table ab (a int, b int);
insert into ab select x%2,x%99 from generate_series(1,1001)x;

select a,b,count(*) from ab group by grouping sets(b,a,(a,b),a,b);

David

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Rowley 2025-10-17 22:58:19 Re: BUG #19078: Segfaults in tts_minimal_store_tuple() following pg_upgrade
Previous Message Yuri Zamyatin 2025-10-17 22:18:13 Re: BUG #19078: Segfaults in tts_minimal_store_tuple() following pg_upgrade