Fix return value of visibilitymap_get_status().

Nathan Bossart <nathan@postgresql.org>

Commit: 15d33eb1924c1093102b8ce142ede4cb3912e85e
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2025-07-24T15:13:45Z
Fix return value of visibilitymap_get_status().

This function is declared as returning a uint8, but it returns a
bool in one code path.  To fix, return (uint8) 0 instead of false
there.  This should behave exactly the same as before, but it might
prevent future compiler complaints.

Oversight in commit a892234f83.

Author: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://postgr.es/m/aIHluT2isN58jqHV%40jrouhaud

Files

PathChange+/−
src/backend/access/heap/visibilitymap.c modified +1 −1

Discussion