Skip to content

Commit 5ff9566

Browse files
committed
Remove postgresql.conf of 'info' as a valid client_min_messages level.
1 parent 7b0f060 commit 5ff9566

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.39 2004/07/04 02:48:52 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.40 2004/07/11 21:48:24 momjian Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -2120,7 +2120,7 @@ RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="pa
21202120
</synopsis>
21212121

21222122
Possible levels are <literal>DEBUG</literal>,
2123-
<literal>LOG</literal>, <literal>INFO</literal>,
2123+
<literal>LOG</literal>,
21242124
<literal>NOTICE</literal>, <literal>WARNING</literal>,
21252125
and <literal>EXCEPTION</literal>.
21262126
<literal>EXCEPTION</literal> raises an error and aborts the current

src/backend/utils/misc/guc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.215 2004/07/11 21:34:00 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.216 2004/07/11 21:48:25 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -5210,6 +5210,10 @@ assign_msglvl(int *var, const char *newval, bool doit, GucSource source)
52105210
if (doit)
52115211
(*var) = LOG;
52125212
}
5213+
/*
5214+
* Client_min_messages always prints 'info', but
5215+
* we allow it as a value anyway.
5216+
*/
52135217
else if (pg_strcasecmp(newval, "info") == 0)
52145218
{
52155219
if (doit)

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167

168168
#client_min_messages = notice # Values, in order of decreasing detail:
169169
# debug5, debug4, debug3, debug2, debug1,
170-
# log, info, notice, warning, error
170+
# log, notice, warning, error
171171

172172
#log_min_messages = notice # Values, in order of decreasing detail:
173173
# debug5, debug4, debug3, debug2, debug1,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy