Standardize type of variable when extending Buffers - Mailing list pgsql-hackers

From Ranier Vilela
Subject Standardize type of variable when extending Buffers
Date
Msg-id CAEudQAqHG-JP-YnG54ftL_b7v6-57rMKwET_MSvEoen0UHuPig@mail.gmail.com
Whole thread Raw
Responses Re: Standardize type of variable when extending Buffers
List pgsql-hackers
Hi,

This has already been discussed in [1].
But I thought it best to start a new thread.

The commit 31966b1 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

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: benchmark results comparing versions 15.2 and 16
Next
From: "Kyzer Davis (kydavis)"
Date:
Subject: RE: UUID v7