Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: DTrace probe patch for OS X Leopard


  • From: Robert Lor <Robert(dot)Lor(at)Sun(dot)COM>
  • To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
  • Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
  • Subject: Re: DTrace probe patch for OS X Leopard
  • Date: Fri, 29 Feb 2008 15:27:58 -0600
  • Message-id: <47C878DE.2090608@sun.com> <text/plain>

Alvaro Herrera wrote:
Would it work to name the traces "trace_transaction__start" etc instead?
AFAICS that would cause the macros to be named

POSTGRESQL_TRACE_TRANSACTION_START()
Correct, and that would work. With this approach, all the probe names will start with trace-, and this particular one will be called trace-transaction-start and can be used this way.

postgresql*:::trace-transaction-start
{
...
}

Actually, it reads better to me than having trace in front. If the above macro name is acceptable, I'll take this route.


Regards,
-Robert



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group