Re: Should we remove unused code? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Should we remove unused code?
Date
Msg-id 25311.1460992733@sss.pgh.pa.us
Whole thread Raw
In response to Should we remove unused code?  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Responses Re: Should we remove unused code?
List pgsql-hackers
Aleksander Alekseev <a.alekseev@postgrespro.ru> writes:
> For instance there are two flags - HASH_SEGMENT and HASH_FFACTOR that
> are in fact never used (see attachment). I wonder whether we should
> keep code like this or not. 

> What do you think?

The fact that make check-world doesn't run any code that uses some
feature isn't a great argument for removing it.  Consider third-party
extensions, for starters.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Spinlocks and semaphores in 9.2 and 9.3
Next
From: Pavel Stehule
Date:
Subject: Re: Parser extensions (maybe for 10?)