| From: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Cc: | robertmhaas(at)gmail(dot)com, sawada(dot)mshk(at)gmail(dot)com |
| Subject: | Wrong datatype used in visibilitymap_get_status |
| Date: | 2025-07-24 07:50:17 |
| Message-ID: | aIHluT2isN58jqHV@jrouhaud |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| 0001-Use-the-correct-data-type-in-visibilitymap_get_statu.patch | text/plain | 929 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jakub Wartak | 2025-07-24 08:01:08 | Re: Draft for basic NUMA observability |
| Previous Message | Hayato Kuroda (Fujitsu) | 2025-07-24 07:42:31 | RE: Logical Replication of sequences |