Re: right join with partitioned table crash
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Jaime Casanova <jcasanov@systemguards.com.ec>,
pgsql-hackers@postgresql.org
Date: 2021-09-17T19:42:59Z
Lists: pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes: > On Wed, Sep 15, 2021 at 07:53:49PM -0400, Tom Lane wrote: >> Jaime Casanova <jcasanov@systemguards.com.ec> writes: >>> Here's another crash caught by sqlsmith. >> Fun. Looks like it fails back to v12, but not in v11, >> so it's some optimization we added in v12 that's at fault. > It seems to be a regression (?) in 12.6 (2021-02-11), from > | 1cce024fd2 Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar. Yeah, that patch still had a hole in it. Fix pushed, thanks for the report! regards, tom lane
Commits
-
Fix pull_varnos to cope with translated PlaceHolderVars.
- febe013cad59 12.9 landed
- e0b0d1eab48c 13.5 landed
- a21049fd3f64 15.0 landed
- 4d5b4483db1c 14.0 landed