On Fri, 5 Jul 2024 at 16:00, Alexander Lakhin <exclus...@gmail.com> wrote: > Please look at a segfault crash introduced with 1eff8279d: > CREATE TABLE t1(i int); > CREATE TABLE t2(i int) PARTITION BY RANGE (i); > CREATE TABLE t2p PARTITION OF t2 FOR VALUES FROM (1) TO (2); > > EXPLAIN ANALYZE SELECT * FROM t1 JOIN t2 ON t1.i > t2.i; > > Leads to: > Core was generated by `postgres: law regression [local] EXPLAIN > '. > Program terminated with signal SIGSEGV, Segmentation fault. > > #0 0x000055c36dbac2f7 in tuplestore_storage_type_name (state=0x0) at > tuplestore.c:1476 > 1476 if (state->status == TSS_INMEM)
Thanks for the report. I've just pushed a fix in 53abb1e0e. David