Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 451a15f

Browse files
committed
Add note that inlined SQL functions aren't tracked by track_functions.
1 parent 1491b4c commit 451a15f

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

doc/src/sgml/config.sgml

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.208 2009/02/15 18:28:48 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.209 2009/02/22 23:50:30 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -3361,11 +3361,19 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
33613361
<listitem>
33623362
<para>
33633363
Enables tracking of function call counts and time used. Specify
3364-
<literal>pl</literal> to count only procedural language functions,
3364+
<literal>pl</literal> to track only procedural-language functions,
33653365
<literal>all</literal> to also track SQL and C language functions.
3366-
The default is <literal>none</literal>.
3367-
Only superusers can change this setting.
3366+
The default is <literal>none</literal>, which disables function
3367+
statistics tracking. Only superusers can change this setting.
33683368
</para>
3369+
3370+
<note>
3371+
<para>
3372+
SQL-language functions that are simple enough to be <quote>inlined</>
3373+
into the calling query will not be tracked, regardless of this
3374+
setting.
3375+
</para>
3376+
</note>
33693377
</listitem>
33703378
</varlistentry>
33713379

0 commit comments

Comments
 (0)