Robert Haas <robertmh...@gmail.com> writes: > I've got another problem with this patch here on macOS:
> In file included from aset.c:52: > ../../../../src/include/utils/memutils_memorychunk.h:170:18: error: > comparison of constant 7 with expression of type > 'MemoryContextMethodID' (aka 'enum MemoryContextMethodID') is always > true [-Werror,-Wtautological-constant-out-of-range-compare] > Assert(methodid <= MEMORY_CONTEXT_METHODID_MASK); > ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ../../../../src/include/c.h:827:9: note: expanded from macro 'Assert' > if (!(condition)) \ > ^~~~~~~~~ Huh. My macOS buildfarm animals aren't showing that, nor can I repro it on my laptop. Which compiler version are you using exactly? regards, tom lane