From: | Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> |
---|---|
To: | Aleksander Alekseev <aleksander(at)timescale(dot)com> |
Cc: | David Rowley <dgrowleyml(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Signed vs Unsigned (take 2) (src/backend/storage/ipc/procarray.c) |
Date: | 2021-07-16 01:03:30 |
Message-ID: | CAEudQAqeih_AFWng0nGOmchQaUZBxMomq=2vT4VCWdTDA3jkAw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Em qui., 15 de jul. de 2021 às 10:04, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
escreveu:
> Em qui., 15 de jul. de 2021 às 10:01, Aleksander Alekseev <
> aleksander(at)timescale(dot)com> escreveu:
>
>> Thanks, David.
>>
>> > I lost where. Can you show me?
>>
>> See the attached warnings.txt.
>>
> Thank you.
>
>
>>
>> > But the benchmark came from:
>> > pgbench -i -p 5432 -d postgres
>> > pgbench -c 50 -T 300 -S -n
>>
>> I'm afraid this tells nothing unless you also provide the
>> configuration files and the hardware description, and also some
>> information on how you checked that there is no performance
>> degradation on all the other supported platforms and possible
>> configurations.
>
>
>
>> Benchmarking is a very complicated topic - trust me,
>> been there!
>>
> Absolutely.
>
>
>>
>> It would be better to submit two separate patches, the one that
>> addresses Size_t and another that addresses shadowing. Refactorings
>> only, nothing else.
>>
>> Regarding the code formatting, please see src/tools/pgindent.
>>
> I will try.
>
Here are the two patches.
As suggested, reclassified as refactoring only.
regards,
Ranier Vilela
Attachment | Content-Type | Size |
---|---|---|
0001-Promove-unshadowing-of-two-variables-PGPROC-type.patch | text/x-patch | 2.2 KB |
0001-Reduce-Wsign-compare-warnings-from-clang-12-compiler.patch | text/x-patch | 2.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Pryzby | 2021-07-16 01:16:39 | Re: [PATCH] psql: \dn+ to show size of each schema (and \dA+ for AMs) |
Previous Message | Michael Paquier | 2021-07-15 23:59:11 | Re: Introduce pg_receivewal gzip compression tests |