Re: Dynamic Tracing docs

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Dynamic Tracing docs
Date: 2006-12-02 01:49:14
Message-ID: 1165024154.3778.980.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, 2006-12-01 at 19:44 -0500, Tom Lane wrote:
> "Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> > Enclose new trace.sgml file as discussed on -docs.
>

> Committed with some rewording and SGML fixes.

Looks like you removed this line

@commit["Abort"] = count();

which means you should also remove this line from the output:

Abort 1

(So, both, or neither).

Robert's example defined this section of code

postgresql$1:::transaction-abort
{
@abort["Abort"] = count();
}

which would be otherwise unused, so I added the two lines to the final
section and program output. So the program as submitted was slightly
different to Robert's published example by covering both commits and
aborts.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-12-02 03:45:13 Re: Dynamic Tracing docs
Previous Message Simon Riggs 2006-12-02 01:40:12 Re: Dynamic Tracing docs

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-12-02 03:45:13 Re: Dynamic Tracing docs
Previous Message Simon Riggs 2006-12-02 01:40:12 Re: Dynamic Tracing docs