Robert Lor <[email protected]> writes:
> Tom Lane wrote:
>> [ complaining about disabled probes not being no-ops ]
> 1) Only use if (foo_ENABLED()) test for probes with expensive function
> call/computation in arguments. This will keep the code clean, and we can
> document this in the "Definine New Probes" section in the online doc.
> ...
> I prefer option 1 the most and 3 the least.
I got the same advice from the systemtap people, so we'll do it that
way.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers