Re: BUG #17564: Planner bug in combination of generate_series(), unnest() and ORDER BY
Martijn van Oosterhout <kleptog@gmail.com>
From: Martijn van Oosterhout <kleptog@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2022-08-04T14:41:11Z
Lists: pgsql-bugs
Hoi Richard, Tom, On Thu, 4 Aug 2022 at 05:16, Richard Guo <guofenglinux@gmail.com> wrote: > > Yeah, I tested in bc76f5ac4. Attached is a regression test I composed. > I tested it locally and it can catch this bug before 1aa8dad41 and give > the expected answer after 1aa8dad41. > > It looks like the issue has been found, nice! So I'm wondering: which release will this fix be included (so we can mark the workaround with an end date). Thanks in advance. -- Martijn van Oosterhout <kleptog@gmail.com> http://svana.org/kleptog/
Commits
-
Add proper regression test for the recent SRFs-in-pathkeys problem.
- cc116479917b 16.0 landed
- 8d38ccafca93 13.8 landed
- 1a9ac84923b8 14.5 landed
- 11e7d626cee4 15.0 landed
-
Fix incorrect tests for SRFs in relation_can_be_sorted_early().
- da4ed7588132 13.8 landed
- 445b9020c97f 14.5 landed
- 1aa8dad41ffa 16.0 landed
- 14168d57bb91 15.0 landed
-
Optimize order of GROUP BY keys
- db0d67db2401 15.0 cited