1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

ProcessUtility_hook:

Add ProcessUtility_hook() to handle all DDL to contrib/pg_stat_statements.

Itagaki Takahiro
This commit is contained in:
Bruce Momjian
2009-12-01 01:08:46 +00:00
parent 29fd97d982
commit d85cb27293
4 changed files with 135 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgstatstatements.sgml,v 1.2 2009/05/18 11:08:24 petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgstatstatements.sgml,v 1.3 2009/12/01 01:08:46 momjian Exp $ -->
<sect1 id="pgstatstatements">
<title>pg_stat_statements</title>
@ -174,6 +174,23 @@
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>pg_stat_statements.track_ddl</varname> (<type>boolean</type>)
</term>
<listitem>
<para>
<varname>pg_stat_statements.track_ddl</varname> controls whether DDL
commands are counted by the module.
Specify <literal>on</> to track DDL commands, which excludes <command>SELECT</>,
<command>INSERT</>, <command>UPDATE</> and <command>DELETE</> statements.
The default value is <literal>on</>.
Only superusers can change this setting.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>pg_stat_statements.save</varname> (<type>boolean</type>)