On Sat, Dec 23, 2023 at 4:51 PM Nathan Bossart <nathandboss...@gmail.com> wrote: > My compiler has the following complaint: > > ../postgresql/src/backend/postmaster/walsummarizer.c: In function > ‘GetOldestUnsummarizedLSN’: > ../postgresql/src/backend/postmaster/walsummarizer.c:540:32: error: > ‘unsummarized_lsn’ may be used uninitialized in this function > [-Werror=maybe-uninitialized] > 540 | WalSummarizerCtl->pending_lsn = unsummarized_lsn; > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Thanks. I don't think there's a real bug, but I pushed a fix, same as what you had. -- Robert Haas EDB: http://www.enterprisedb.com