Wrong datatype used in visibilitymap_get_status - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Wrong datatype used in visibilitymap_get_status
Date
Msg-id aIHluT2isN58jqHV@jrouhaud
Whole thread Raw
Responses Re: Wrong datatype used in visibilitymap_get_status
List pgsql-hackers
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.

Attachment

pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Logical Replication of sequences
Next
From: Jakub Wartak
Date:
Subject: Re: Draft for basic NUMA observability