From: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
---|---|
To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
Cc: | Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, John Naylor <john(dot)naylor(at)enterprisedb(dot)com>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Maxim Orlov <orlovmg(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Custom tuplesorts for extensions |
Date: | 2022-07-25 09:30:24 |
Message-ID: | CAPpHfdvJe+yWUoOy3oWKMadNtVfD+r=mqAZTmb-LbUHeYrf56g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Justin!
On Mon, Jul 25, 2022 at 2:23 AM Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:
> Note that 0001+0002 (without the others) incurs warnings:
>
> $ time { make -j4 clean; make -j4; } >/dev/null
> tuplesort.c:1883:9: warning: unused variable 'i' [-Wunused-variable]
> tuplesort.c:1955:10: warning: unused variable 'i' [-Wunused-variable]
> tuplesort.c:2026:9: warning: unused variable 'i' [-Wunused-variable]
> tuplesort.c:2103:10: warning: unused variable 'i' [-Wunused-variable]
>
> (I wondered in the past if cfbot should try to test for clean builds of subsets
> of patchsets, and it came up recently with the JSON patches.)
>
> Also, this comment has some bad indentation:
>
> * Set state to be consistent with never trying abbreviation.
Thank you for caching this. Fixed in the revision attached.
Testing subsets of patchsets in cfbot looks like a good idea to me.
However, I'm not sure if we always require subsets to be consistent.
------
Regards,
Alexander Korotkov
Attachment | Content-Type | Size |
---|---|---|
0004-Move-memory-management-away-from-writetup-and-tup-v6.patch | application/octet-stream | 8.4 KB |
0001-Remove-Tuplesortstate.copytup-function-v6.patch | application/octet-stream | 17.0 KB |
0002-Add-new-Tuplesortstate.removeabbrev-function-v6.patch | application/octet-stream | 9.7 KB |
0003-Put-abbreviation-logic-into-puttuple_common-v6.patch | application/octet-stream | 10.8 KB |
0005-Split-TuplesortPublic-from-Tuplesortstate-v6.patch | application/octet-stream | 69.9 KB |
0006-Split-tuplesortvariants.c-from-tuplesort.c-v6.patch | application/octet-stream | 117.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2022-07-25 09:31:27 | Re: Collect ObjectAddress for ATTACH DETACH PARTITION to use in event trigger |
Previous Message | Bharath Rupireddy | 2022-07-25 09:29:02 | Re: An attempt to avoid locally-committed-but-not-replicated-to-standby-transactions in synchronous replication |