Commit 3eb9da52 authored by Neil Conway's avatar Neil Conway

Fix a few typos in the DTrace docs. Patch from Euler Taveira de Oliveira,

along with an additional typo I noticed along the way.
parent 86fdb32b
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.59 2008/05/15 00:17:39 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.60 2008/06/18 17:44:12 neilc Exp $ -->
<chapter id="monitoring"> <chapter id="monitoring">
<title>Monitoring Database Activity</title> <title>Monitoring Database Activity</title>
...@@ -1190,7 +1190,7 @@ Total time (ns) 2312105013 ...@@ -1190,7 +1190,7 @@ Total time (ns) 2312105013
<step> <step>
<para> <para>
Add the probe definitons to <filename>src/backend/src/utils/probes.d</> Add the probe definitions to <filename>src/backend/utils/probes.d</>
</para> </para>
</step> </step>
...@@ -1224,7 +1224,7 @@ Total time (ns) 2312105013 ...@@ -1224,7 +1224,7 @@ Total time (ns) 2312105013
<step> <step>
<para> <para>
Add <quote>probe transaction__start(int);</quote> to Add <quote>probe transaction__start(int);</quote> to
<filename>src/backend/src/utils/probes.d</>, and it should look like the following: <filename>src/backend/utils/probes.d</>, and it should look like the following:
<programlisting> <programlisting>
provider postgresql { provider postgresql {
... ...
...@@ -1247,7 +1247,7 @@ provider postgresql { ...@@ -1247,7 +1247,7 @@ provider postgresql {
<para> <para>
At compile time, transaction__start is converted to a macro called At compile time, transaction__start is converted to a macro called
TRACE_POSTGRESQL_TRANSACTION_START, and it resides in TRACE_POSTGRESQL_TRANSACTION_START, and it resides in
<filename>src/backend/src/utils/probes.h</>. Before recompiling, add <filename>src/backend/utils/probes.h</>. Before recompiling, add
the single line macro to the appropriate location in the source code. the single line macro to the appropriate location in the source code.
In this case, it looks like the following: In this case, it looks like the following:
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment