diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-03-02 23:37:23 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-03-02 23:37:23 +0000 |
| commit | 61c3e5b2486825ee65da322e1408286a8c0d5de6 (patch) | |
| tree | fa11fd0d50762edf630370c04bbcd5b79c8129be /doc/src/sgml/sources.sgml | |
| parent | 1a7f6302bc044ac2e9027be1f94118e029c64ed9 (diff) | |
| download | postgresql-61c3e5b2486825ee65da322e1408286a8c0d5de6.tar.gz | |
Make log_min_error_statement put LOG level at the same priority as
log_min_messages does; and arrange to suppress the duplicative output
that would otherwise result from log_statement and log_duration messages.
Bruce Momjian and Tom Lane.
Diffstat (limited to 'doc/src/sgml/sources.sgml')
| -rw-r--r-- | doc/src/sgml/sources.sgml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml index 873ba6b2f2..5d9043a16a 100644 --- a/doc/src/sgml/sources.sgml +++ b/doc/src/sgml/sources.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/sources.sgml,v 2.27 2007/02/01 22:06:14 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/sources.sgml,v 2.28 2007/03/02 23:37:22 tgl Exp $ --> <chapter id="source"> <title>PostgreSQL Coding Conventions</title> @@ -206,6 +206,14 @@ ereport(ERROR, socket-related system call. </para> </listitem> + <listitem> + <para> + <function>errhidestmt(bool hide_stmt)</function> can be called to specify + suppression of the <literal>STATEMENT:</> portion of a message in the + postmaster log. Generally this is appropriate if the message text + includes the current statement already. + </para> + </listitem> </itemizedlist> </para> |
