Can we remove the #fdef UNUSED code from nbtxlog.c

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Can we remove the #fdef UNUSED code from nbtxlog.c
Date: 2018-12-13 23:28:15
Message-ID: 20181213232815.qsfjdhp6zfo2itks@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

nbtxlog.c has a fairly large section of code commented out with #ifdef
UNUSED. With a node justifying that with:

+ * This section of code is thought to be no longer needed, after
+ * analysis of the calling paths. It is retained to allow the code
+ * to be reinstated if a flaw is revealed in that thinking.

That seems much better addressed by git revert/git log. Having a
comment explaining facts that aren't true anymore is just plain
confusing.

Greetings,

Andres Freund

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-12-13 23:42:31 Re: Remove Deprecated Exclusive Backup Mode
Previous Message Peter Eisentraut 2018-12-13 23:20:39 Re: [HACKERS] REINDEX CONCURRENTLY 2.0