Re: Signed vs Unsigned (take 2) (src/backend/storage/ipc/procarray.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Aleksander Alekseev <aleksander(at)timescale(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Signed vs Unsigned (take 2) (src/backend/storage/ipc/procarray.c)
Date: 2021-07-20 22:16:10
Message-ID: CAEudQAq5NQG-2J5ERyyx52z4GqYUPTdU8VtT083jz-7oj8bYdQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em sex., 16 de jul. de 2021 às 09:41, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
escreveu:

> Em sex., 16 de jul. de 2021 às 09:05, Aleksander Alekseev <
> aleksander(at)timescale(dot)com> escreveu:
>
>> Hi Rainer,
>>
>> > Here are the two patches.
>> > As suggested, reclassified as refactoring only.
>>
>> Please don't change the status of the patch on CF application before
>> it was reviewed. It will only slow things down.
>>
> Hi Aleksander,
> Sorry, lack of practice.
>
>
>> Your patch seems to have some problems on FreeBSD. Please see
>> http://commitfest.cputube.org/
>
> I saw.
> Very strange, in all other architectures, it went well.
> I will have to install a FreeBSD to be able to debug.
>
There are a typo in
0001-Promove-unshadowing-of-two-variables-PGPROC-type.patch

- ProcArrayEndTransactionInternal(proc, proc->procArrayGroupMemberXid);
+ ProcArrayEndTransactionInternal(nextproc,
nextproc->procArrayGroupMemberXid);

Attached new version v1, with fix.
Now pass check-world at FreeBSD 13 with clang 11.

regards,
Ranier Vilela

Attachment Content-Type Size
v1-0001-Promove-unshadowing-of-two-variables-PGPROC-type.patch application/octet-stream 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2021-07-20 22:53:50 Re: Have I found an interval arithmetic bug?
Previous Message Daniel Gustafsson 2021-07-20 21:55:26 Re: OpenSSL 3.0.0 compatibility