Re: [PATCHES] Generic Monitoring Framework with DTrace patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Generic Monitoring Framework with DTrace patch
Дата
Msg-id 22369.1153492213@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Generic Monitoring Framework with DTrace patch  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: [PATCHES] Generic Monitoring Framework with DTrace  (korry <korryd@enterprisedb.com>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Fri, Jul 21, 2006 at 01:42:26PM +0200, Peter Eisentraut wrote:
>> I would prefer to drop the PG_ prefixes on PG_TRACE and pg_trace.h.  We
>> know which software we're dealing with.

> I don't know. "trace" is a fairly generic word, how do you know that
> none of the dozen other libraries we include don't already have a
> "trace.h" or a TRACE() macro? On any of our supported platforms?

I concur with Martijn.  We've already regretted using ERROR as a macro
name, let's not make the same mistake with TRACE.  PG_TRACE is good,
and so is pg_trace.h.  (But invoking it as utils/trace.h would be ok.)
        regards, tom lane


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: BF Failure on Bandicoot
Следующее
От: korry
Дата:
Сообщение: Re: [PATCHES] Generic Monitoring Framework with DTrace