summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2006-04-18 00:52:41 +0000
committerBruce Momjian2006-04-18 00:52:41 +0000
commit65f1a7a8dcd67735c8e1efadd4b4d30a745dc39c (patch)
tree25079de7f3fc1eb076887323fa30284d501c56b7 /doc/src
parentdd8d1b1fbdb2a9fa6bf867ea38e877b0ca136059 (diff)
Document that errors are not output by log_statement (was they were in
8.0), and add as suggestion to use log_min_error_statement for this purpose. I also fixed the code so the first EXECUTE has it's prepare, rather than the last which is what was in the current code. Also remove "protocol" prefix for SQL EXECUTE output because it is not accurate. Backpatch to 8.1.X.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 37dbaddf7c5..7e40c6922dd 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.36.2.3 2006/03/28 22:01:24 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.36.2.4 2006/04/18 00:52:41 momjian Exp $
-->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@@ -2729,9 +2729,10 @@ SELECT * FROM parent WHERE key = 2400;
<note>
<para>
The <command>EXECUTE</command> statement is not considered a
- <literal>ddl</> or <literal>mod</> statement. When it is logged,
- only the name of the prepared statement is reported, not the
- actual prepared statement.
+ <literal>ddl</> or <literal>mod</> statement. Statements that
+ generate errors are not logged. Set
+ <varname>log_min_error_statement</> to <literal>error</> to
+ log such statements.
</para>
<para>