mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update EXECUTE docs to mention tag matches prepared statement.
Update log_statement to more clearly state it doesn't filter based on the statement type of the prepared statement.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/execute.sgml,v 1.8 2004/01/26 17:26:30 neilc Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/execute.sgml,v 1.9 2004/04/22 04:18:41 momjian Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -45,6 +45,8 @@ EXECUTE <replaceable class="PARAMETER">plan_name</replaceable> [ (<replaceable c
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
The command tag returned by <command>EXECUTE</command>
|
||||||
|
is that of the prepared statement, and not <literal>EXECUTE</>.
|
||||||
For more information on the creation and usage of prepared statements,
|
For more information on the creation and usage of prepared statements,
|
||||||
see <xref linkend="sql-prepare" endterm="sql-prepare-title">.
|
see <xref linkend="sql-prepare" endterm="sql-prepare-title">.
|
||||||
</para>
|
</para>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.261 2004/04/21 13:18:28 petere Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.262 2004/04/22 04:18:37 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<Chapter Id="runtime">
|
<Chapter Id="runtime">
|
||||||
@ -2135,16 +2135,19 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
<literal>UPDATE</>, <literal>DELETE</>, <literal>TRUNCATE</>,
|
<literal>UPDATE</>, <literal>DELETE</>, <literal>TRUNCATE</>,
|
||||||
and <literal>COPY FROM</>. <literal>PREPARE</> and
|
and <literal>COPY FROM</>. <literal>PREPARE</> and
|
||||||
<literal>EXPLAIN ANALYZE</> statements are also considered for
|
<literal>EXPLAIN ANALYZE</> statements are also considered for
|
||||||
appropriate commands. The default is <literal>none</>. Only
|
appropriate commands.
|
||||||
superusers can reduce the detail of this option if it has been
|
</para>
|
||||||
set by an administrator.
|
<para>
|
||||||
|
The default is <literal>none</>. Only superusers can reduce
|
||||||
|
the detail of this option if it has been set by an administrator.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
When the <command>EXECUTE</command> statement is logged, only
|
The <command>EXECUTE</command> statement not considered a
|
||||||
the name of the prepared statement is recorded, not the
|
<literal>ddl</> or <literal>mod</> statement. When it is logged,
|
||||||
entire prepared statement.
|
only the name of the prepared statement is reported, not the
|
||||||
|
actual prepared statement.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user