Commit 5ff95666 authored by Bruce Momjian's avatar Bruce Momjian

Remove postgresql.conf of 'info' as a valid client_min_messages level.

parent 7b0f060d
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.39 2004/07/04 02:48:52 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.40 2004/07/11 21:48:24 momjian Exp $
--> -->
<chapter id="plpgsql"> <chapter id="plpgsql">
...@@ -2120,7 +2120,7 @@ RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="pa ...@@ -2120,7 +2120,7 @@ RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="pa
</synopsis> </synopsis>
Possible levels are <literal>DEBUG</literal>, Possible levels are <literal>DEBUG</literal>,
<literal>LOG</literal>, <literal>INFO</literal>, <literal>LOG</literal>,
<literal>NOTICE</literal>, <literal>WARNING</literal>, <literal>NOTICE</literal>, <literal>WARNING</literal>,
and <literal>EXCEPTION</literal>. and <literal>EXCEPTION</literal>.
<literal>EXCEPTION</literal> raises an error and aborts the current <literal>EXCEPTION</literal> raises an error and aborts the current
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.215 2004/07/11 21:34:00 momjian Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.216 2004/07/11 21:48:25 momjian Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -5210,6 +5210,10 @@ assign_msglvl(int *var, const char *newval, bool doit, GucSource source) ...@@ -5210,6 +5210,10 @@ assign_msglvl(int *var, const char *newval, bool doit, GucSource source)
if (doit) if (doit)
(*var) = LOG; (*var) = LOG;
} }
/*
* Client_min_messages always prints 'info', but
* we allow it as a value anyway.
*/
else if (pg_strcasecmp(newval, "info") == 0) else if (pg_strcasecmp(newval, "info") == 0)
{ {
if (doit) if (doit)
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
#client_min_messages = notice # Values, in order of decreasing detail: #client_min_messages = notice # Values, in order of decreasing detail:
# debug5, debug4, debug3, debug2, debug1, # debug5, debug4, debug3, debug2, debug1,
# log, info, notice, warning, error # log, notice, warning, error
#log_min_messages = notice # Values, in order of decreasing detail: #log_min_messages = notice # Values, in order of decreasing detail:
# debug5, debug4, debug3, debug2, debug1, # debug5, debug4, debug3, debug2, debug1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment