Re: Wrong datatype used in visibilitymap_get_status - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Wrong datatype used in visibilitymap_get_status
Date
Msg-id aIJJgOWHXfNQYJjz@nathan
Whole thread Raw
In response to Wrong datatype used in visibilitymap_get_status  (Julien Rouhaud <rjuju123@gmail.com>)
Responses Re: Wrong datatype used in visibilitymap_get_status
List pgsql-hackers
On Thu, Jul 24, 2025 at 03:50:17PM +0800, Julien Rouhaud wrote:
> I was reading the visibility map code and noticed that
> visibilitymap_get_status() wasn't updated in a892234f830e AFAICS (Cc Robert and
> Sawada-san) to return an empty set of flags rather than false in one code path,
> so simple patch attached.  Both have the same value so that likely explains why
> it got unnoticed until now, although I assume that some compiler would
> have eventually started to complain about that.

+1, I'll go commit this.

-- 
nathan



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: index prefetching
Next
From: Laurenz Albe
Date:
Subject: Commitfest 2025-03 still has active patches