Re: trying again to get incremental backup - Mailing list pgsql-hackers

From Robert Haas
Subject Re: trying again to get incremental backup
Date
Msg-id CA+TgmoYdPWv_5k644A0_-MQZdX7=opiyR0J+ftfcAvLTnOmaBA@mail.gmail.com
Whole thread Raw
In response to Re: trying again to get incremental backup  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: trying again to get incremental backup
List pgsql-hackers
On Sat, Dec 23, 2023 at 4:51 PM Nathan Bossart <nathandbossart@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
thisfunction [-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



pgsql-hackers by date:

Previous
From: Robins Tharakan
Date:
Subject: Re: pg_upgrade failing for 200+ million Large Objects
Next
From: Justin Pryzby
Date:
Subject: cannot abort transaction 2737414167, it was already committed