Re: [PATCH] Reduce noise from tsort

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Reduce noise from tsort
Дата
Msg-id 20343.1145124525@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Reduce noise from tsort  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: [PATCH] Reduce noise from tsort  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [PATCH] Reduce noise from tsort  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Sat, Apr 15, 2006 at 12:12:53PM -0400, Tom Lane wrote:
>> Personally I've been wondering for some time why we use lorder/tsort
>> at all.  Are there any platforms we support where this is still needed?
>> (Given the existence of circular references within libpq.a, one would
>> think that tsort wouldn't help such a platform anyway.)

> I've never worked with a system that cared about the order within
> libraries so I've never really experienced the problem. But I leave it
> in because I figure it must fix something for someone somewhere...

Well, I vote we take it out, which would eliminate these warnings
instead of just shorten them.  On a platform where tsorting a non-shared
library's contents is actually essential, libpq.a would be useless
anyway because of the circular internal references.  Presumably,
anyone who's using Postgres on such a platform only cares about the .so
library.  So I don't see any point in including the tsort step.

(AFAIK we inherited the tsort stuff from Berkeley; it may have been
useful once upon a time, but that was a long time ago.)

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [PATCH] Reduce noise from tsort
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump insert transactions