From: | Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Standardize type of variable when extending Buffers |
Date: | 2023-07-07 13:11:39 |
Message-ID: | CAEudQAqHG-JP-YnG54ftL_b7v6-57rMKwET_MSvEoen0UHuPig@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
This has already been discussed in [1].
But I thought it best to start a new thread.
The commit 31966b1
<https://github.com/postgres/postgres/commit/31966b151e6ab7a6284deab6e8fe5faddaf2ae4c>
introduced the infrastructure to extend
buffers.
But the patch mixed types with int and uint32.
The correct type of the variable counter is uint32.
Fix by standardizing the int type to uint32.
patch attached.
best regards,
Ranier Vilela
Attachment | Content-Type | Size |
---|---|---|
0001-Standardize-type-of-extend_by-counter.patch | application/octet-stream | 2.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Kyzer Davis (kydavis) | 2023-07-07 13:31:07 | RE: UUID v7 |
Previous Message | Alexander Lakhin | 2023-07-07 13:00:01 | Re: benchmark results comparing versions 15.2 and 16 |