a large LIMIT makes some sorts slower

Edit
ID 7084
Title a large LIMIT makes some sorts slower
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 1, First patch: +54−14, All patches: +54−14
Tags Bugfix Performance
Created 2026-08-01 12:58:47
Last modified 2026-08-01 12:58:47 (2 weeks ago)
Latest email 2026-08-03 14:17:41 (1 week ago)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
Target version 20
Authors Chengpeng Yan (chengpeng.yan)
Reviewers Become reviewer
Committer
Links
Emails
a large LIMIT makes some sorts slower
First at 2026-07-28 02:09:38 by Jacob Brazeal <jacob.brazeal at gmail.com>
Latest at 2026-08-03 14:17:41 by Chengpeng Yan <chengpeng_yan at outlook.com>
Latest attachment (v2-0001-Use-lazy-abbreviation-for-bounded-heap-admission.patch) at 2026-08-03 14:17:41 from Chengpeng Yan <chengpeng_yan at outlook.com>
    Attachment (v2-0001-Use-lazy-abbreviation-for-bounded-heap-admission.patch) at 2026-08-03 14:17:41 from Chengpeng Yan <chengpeng_yan at outlook.com> (Patch: No)
    Attachment (sample-dont-disable-abbreviation-for-bounded-heap.patch) at 2026-08-02 11:08:16 from Tatsuya Kawata <kawatatatsuya0913 at gmail.com> (Patch: No)
    Attachment (v1-0001-Delay-abbreviation-shutdown-for-bounded-sorts.patch) at 2026-08-01 09:38:43 from Chengpeng Yan <chengpeng_yan at outlook.com> (Patch: No)
History
When Who What
2026-08-01 12:58:47 Chengpeng Yan (chengpeng.yan) Attached mail thread CA+COZaAT5WbEOUwjmw2RHGDyYf=hPnnR-xf=Fh7S-_x4cg9Zmg@mail.gmail.com
2026-08-01 12:58:47 Chengpeng Yan (chengpeng.yan) Created patch record
Edit