On 2024-Mar-04, Tom Lane wrote: > In hopes of noticing whether there are other similar thinkos, > I permuted the order of the SlruPageStatus enum values, and > now I get the expected warnings from gcc:
Thanks for checking! I pushed the fixes. Maybe we should assign a nonzero value (= 1) to the first element of enums, to avoid this kind of mistake. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/