Re: regression in PG 15.1 - Mailing list pgsql-admin

From Tom Lane
Subject Re: regression in PG 15.1
Date
Msg-id 543106.1669646690@sss.pgh.pa.us
Whole thread Raw
In response to regression in PG 15.1  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: regression in PG 15.1
Re: regression in PG 15.1
List pgsql-admin
Scott Ribe <scott_ribe@elevated-dev.com> writes:
>   select * from tbl where txid > something and tbl_id = (select id from reftbl where name = 'someval');
> ^^^ fails to exclude partitions, kicks off parallel scans on all 142, takes 23,170ms

Why do you say this is a regression?  From what I know of the partition
pruning logic (admittedly not a whole lot), I don't think we'd have
ever pruned on the basis of such a constraint.

            regards, tom lane



pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: regression in PG 15.1
Next
From: "David G. Johnston"
Date:
Subject: Re: regression in PG 15.1