| From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Put abbreviation logic into puttuple_common() |
| Date: | 2022-07-27 05:29:21 |
| Message-ID: | E1oGZbk-001RJy-GC@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Put abbreviation logic into puttuple_common()
Abbreviation code is very similar along tuplesort_put*() functions. This
commit unifies that code and puts it into puttuple_common(). tuplesort_put*()
functions differs in the abbreviation condition, so it has been added as an
argument to the puttuple_common() function.
Discussion: https://postgr.es/m/CAPpHfdvjix0Ahx-H3Jp1M2R%2B_74P-zKnGGygx4OWr%3DbUQ8BNdw%40mail.gmail.com
Author: Alexander Korotkov
Reviewed-by: Pavel Borisov, Maxim Orlov, Matthias van de Meent
Reviewed-by: Andres Freund, John Naylor
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/033dd02db2248ed792332b950431ced4771b8304
Modified Files
--------------
src/backend/utils/sort/tuplesort.c | 214 ++++++++++---------------------------
1 file changed, 56 insertions(+), 158 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2022-07-27 06:03:30 | pgsql: Allow "in place" tablespaces. |
| Previous Message | Thomas Munro | 2022-07-27 05:01:09 | Re: pgsql: Remove the restriction that the relmap must be 512 bytes. |