On Mon Aug 28, 2023 at 2:37 PM CDT, Bruce Momjian wrote:
I don't see a clean way of avoiding the warning except by initializing
the array, which seems wasteful.

For what it's worth, we recently committed a patch[0] that initialized an array due to a similar warning being generated on Fedora 38 (gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)).

[0]: 
https://github.com/postgres/postgres/commit/4a8fef0d733965c1a1836022f8a42ab1e83a721f

--
Tristan Partin
Neon (https://neon.tech)


Reply via email to