Re: Problem, partition pruning for prepared statement with IS NULL clause.
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Sergei Glukhov <s.glukhov@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2023-10-11T09:19:37Z
Lists: pgsql-hackers
Attachments
- fix_get_steps_using_prefix_recurse_v2.patch (text/plain) patch v2
On Wed, 11 Oct 2023 at 22:09, Sergei Glukhov <s.glukhov@postgrespro.ru> wrote: > Thanks for fixing this! > > I verified that issues are fixed. Thanks for having a look. Unfortunately, I'd not long sent the last email and realised that the step_lastkeyno parameter is now unused and can just be removed from both get_steps_using_prefix() and get_steps_using_prefix_recurse(). This requires some comment rewriting so I've attempted to do that too in the attached updated version. David
Commits
-
Fix runtime partition pruning for HASH partitioned tables
- 2759924f33a6 11.22 landed
- 3cc0c25172b2 12.17 landed
- 890a73ba3ac0 13.13 landed
- d26f33c32436 14.10 landed
- 1e81d3e6e0a0 15.5 landed
- 595db9e9cc41 16.1 landed
- d9e46dfb78ab 17.0 landed
-
Fix incorrect step generation in HASH partition pruning
- 07f261b3172d 11.22 landed
- cd259de50ac5 12.17 landed
- 45c4b2a3aa72 13.13 landed
- cd15bff4814b 14.10 landed
- 916adc7c50bb 15.5 landed
- 6352f1627641 16.1 landed
- f0c409d9c7a6 17.0 landed