summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2009-02-22 23:50:30 +0000
committerTom Lane2009-02-22 23:50:30 +0000
commite05ec7efd152c05691510e72c19b3326710e61f9 (patch)
treec5d15203346e162e7606426a3e78c3e63212a8fc
parentef5bf5634a7fd98e3dacbec37007cc15b733a4e3 (diff)
Add note that inlined SQL functions aren't tracked by track_functions.
-rw-r--r--doc/src/sgml/config.sgml14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 5cc395efa2..223911c7c6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3361,11 +3361,19 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<listitem>
<para>
Enables tracking of function call counts and time used. Specify
- <literal>pl</literal> to count only procedural language functions,
+ <literal>pl</literal> to track only procedural-language functions,
<literal>all</literal> to also track SQL and C language functions.
- The default is <literal>none</literal>.
- Only superusers can change this setting.
+ The default is <literal>none</literal>, which disables function
+ statistics tracking. Only superusers can change this setting.
</para>
+
+ <note>
+ <para>
+ SQL-language functions that are simple enough to be <quote>inlined</>
+ into the calling query will not be tracked, regardless of this
+ setting.
+ </para>
+ </note>
</listitem>
</varlistentry>