| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | RecoveryTargetTLI dead variable in XLogCtlData |
| Date: | 2016-07-13 03:29:49 |
| Message-ID: | CAB7nPqTHH0G6kC7E07jxwudUJgqctts2rwkm=TCuONXJjgV30g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi all,
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;
Thanks,
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| xlog-dead-var.patch | text/x-patch | 540 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2016-07-13 03:49:46 | Simplifying the interface of UpdateMinRecoveryPoint |
| Previous Message | Michael Paquier | 2016-07-13 03:26:14 | Re: [BUG] pg_basebackup from disconnected standby fails |