Re: [HACKERS] freefuncs.c is never called from anywhere!?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] freefuncs.c is never called from anywhere!?
Дата
Msg-id 200002010158.UAA21631@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] freefuncs.c is never called from anywhere!?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] freefuncs.c is never called from anywhere!?  (The Hermit Hacker <scrappy@hub.org>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Another nasty cache problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [ADMIN] Attribute 'aggtransfn1' is repeated