cost_incremental_sort() and limit_tuples

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: cost_incremental_sort() and limit_tuples
Date: 2023-12-04 07:46:37
Message-ID: 1619.1701675997@antos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I think that cost_incremental_sort() does not account for the limit_tuples
argument properly. Attached is my proposal to fix the problem.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

Attachment Content-Type Size
cost_incremental_sort_limit_tuple.diff text/x-diff 1.7 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Koval 2023-12-04 07:52:06 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Previous Message Xiang Gao 2023-12-04 07:27:01 RE: CRC32C Parallel Computation Optimization on ARM