Re: DTrace probes broken in HEAD on Solaris?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DTrace probes broken in HEAD on Solaris?
Дата
Msg-id 13769.1237942531@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: DTrace probes broken in HEAD on Solaris?  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Greg Stark <stark@enterprisedb.com> writes:
> On Tue, Mar 24, 2009 at 9:31 PM, Robert Lor <Robert.Lor@sun.com> wrote:
>> I think the is-enabled test will address the issues you encountered. I see a
>> few alternative to fixing this:

> Another option is to impose a policy that all arguments to probes must
> be simple local variables -- no expressions.

IOW, if you need to trace on an expression, you have to calculate it
whether or not ENABLE_DTRACE is even defined?  This doesn't seem to
me that it solves anything.  The cases that are interesting are where a
probe needs a value that otherwise wouldn't be needed.
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: hstore patch, part 2
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Function C and INOUT parameters