Re: [HACKERS] freefuncs.c is never called from anywhere!? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] freefuncs.c is never called from anywhere!?
Date
Msg-id 200002010158.UAA21631@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] freefuncs.c is never called from anywhere!?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] freefuncs.c is never called from anywhere!?  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
> I think it would be a bad idea to go around and yank out NOT_USED code
> wholesale --- this should be looked at on a case-by-case basis, with
> consideration of whether the code might be useful again in future.
> 
> But I think I might vote for pruning the _deadcode directories
> wholesale.  I suspect the files in them are suffering from
> irrecoverable bit rot.

I disagree on _deadcode.  While the code is rotted, it does implement
some full functions that have no other history, like verion.c for
versioning and xfunc for expensive functions.  Yanking them means we can
never know what they did.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Another nasty cache problem
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [ADMIN] Attribute 'aggtransfn1' is repeated