Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0549ba8

Browse files
committed
Clarify note about interaction of log_statement logging with errors.
Remove obsolete note about logging of statements generated by plpgsqlfunction execution ... that doesn't happen anymore.
1 parent1b84441 commit0549ba8

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.90 2006/10/07 19:25:28 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.91 2006/10/19 22:55:25 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -2891,18 +2891,14 @@ SELECT * FROM parent WHERE key = 2400;
28912891

28922892
<note>
28932893
<para>
2894-
Statements that generate syntax errors are not logged. Set
2895-
<varname>log_min_error_statement</> to <literal>error</> to
2896-
log such statements.
2897-
</para>
2898-
2899-
<para>
2900-
When a function is defined in the
2901-
<application>PL/pgSQL</application>server-side language, any queries
2902-
executed by the function will only be logged the first time that the
2903-
function is invoked in a particular session. This is because
2904-
<application>PL/pgSQL</application> keeps a cache of the
2905-
query plans produced for the SQL statements in the function.
2894+
Statements that contain simple syntax errors are not logged
2895+
even by the <varname>log_statement</> = <literal>all</> setting,
2896+
because the log message is emitted only after basic parsing has
2897+
been done to determine the statement type. In the case of extended
2898+
query protocol, this setting likewise does not log statements that
2899+
fail before the Execute phase (i.e., during parse analysis or
2900+
planning). Set <varname>log_min_error_statement</> to
2901+
<literal>error</> to log such statements.
29062902
</para>
29072903
</note>
29082904
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp