Re: infobits_set WAL record struct field is int8
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-04-11T20:48:44Z
Lists: pgsql-hackers
Hi,
On 2023-04-11 13:13:49 -0700, Peter Geoghegan wrote:
> Commit 0ac5ad5134 ("Improve concurrency of foreign key locking") added
> infobits_set fields to certain WAL records. However, in the case of
> xl_heap_lock, it made the data type int8 rather than uint8.
>
> I believe that this was a minor oversight. Attached patch fixes the issue.
Makes sense. Looks like there never was a flag defined for the sign bit,
luckily. I assume you're just going to apply this for HEAD?
Greetings,
Andres Freund
Commits
-
Fix xl_heap_lock WAL record field's data type.
- e944063294fb 16.0 landed
-
Improve concurrency of foreign key locking
- 0ac5ad5134f2 9.3.0 cited