File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/execute.sgml,v 1.8 2004/01/26 17:26:30 neilc Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/execute.sgml,v 1.9 2004/04/22 04:18:41 momjian Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -45,6 +45,8 @@ EXECUTE <replaceable class="PARAMETER">plan_name</replaceable> [ (<replaceable c
45
45
</para>
46
46
47
47
<para>
48
+ The command tag returned by <command>EXECUTE</command>
49
+ is that of the prepared statement, and not <literal>EXECUTE</>.
48
50
For more information on the creation and usage of prepared statements,
49
51
see <xref linkend="sql-prepare" endterm="sql-prepare-title">.
50
52
</para>
Original file line number Diff line number Diff line change 1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.261 2004/04/21 13 :18:28 petere Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.262 2004/04/22 04 :18:37 momjian Exp $
3
3
-->
4
4
5
5
<Chapter Id="runtime">
@@ -2135,16 +2135,19 @@ SET ENABLE_SEQSCAN TO OFF;
2135
2135
<literal>UPDATE</>, <literal>DELETE</>, <literal>TRUNCATE</>,
2136
2136
and <literal>COPY FROM</>. <literal>PREPARE</> and
2137
2137
<literal>EXPLAIN ANALYZE</> statements are also considered for
2138
- appropriate commands. The default is <literal>none</>. Only
2139
- superusers can reduce the detail of this option if it has been
2140
- set by an administrator.
2138
+ appropriate commands.
2139
+ </para>
2140
+ <para>
2141
+ The default is <literal>none</>. Only superusers can reduce
2142
+ the detail of this option if it has been set by an administrator.
2141
2143
</para>
2142
2144
2143
2145
<note>
2144
2146
<para>
2145
- When the <command>EXECUTE</command> statement is logged, only
2146
- the name of the prepared statement is recorded, not the
2147
- entire prepared statement.
2147
+ The <command>EXECUTE</command> statement not considered a
2148
+ <literal>ddl</> or <literal>mod</> statement. When it is logged,
2149
+ only the name of the prepared statement is reported, not the
2150
+ actual prepared statement.
2148
2151
</para>
2149
2152
2150
2153
<para>
You can’t perform that action at this time.
0 commit comments