Re: RecoveryTargetTLI dead variable in XLogCtlData - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: RecoveryTargetTLI dead variable in XLogCtlData
Date
Msg-id CAB7nPqQEu3ps63Dpo=puozNOWmrFsPcy08YkfFA_aPhFh0vomg@mail.gmail.com
Whole thread Raw
In response to RecoveryTargetTLI dead variable in XLogCtlData  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Wed, Jul 13, 2016 at 12:29 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> I just bumped into $subject, a variable that is never set and never used:
> --- a/src/backend/access/transam/xlog.c
> +++ b/src/backend/access/transam/xlog.c
> @@ -631,8 +631,6 @@ typedef struct XLogCtlData
>     TimeLineID  replayEndTLI;
>     /* timestamp of last COMMIT/ABORT record replayed (or being replayed) */
>     TimestampTz recoveryLastXTime;
> -   /* current effective recovery target timeline */
> -   TimeLineID  RecoveryTargetTLI;

d57a9734 has missed this cleanup.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Regression tests vs existing users in an installation
Next
From: Andres Freund
Date:
Subject: heap_update() VM retry could break HOT?