Wrong datatype used in visibilitymap_get_status
Julien Rouhaud <rjuju123@gmail.com>
From: Julien Rouhaud <rjuju123@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: robertmhaas@gmail.com, sawada.mshk@gmail.com
Date: 2025-07-24T07:50:17Z
Lists: pgsql-hackers
Attachments
Hi, 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.