Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr3tq-0003xD-RY for pgsql-docs@arkaria.postgresql.org; Thu, 23 Mar 2017 14:39:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cr3tq-0002ue-E1 for pgsql-docs@arkaria.postgresql.org; Thu, 23 Mar 2017 14:39:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cr3tS-0001Ym-HU for pgsql-docs@postgresql.org; Thu, 23 Mar 2017 14:39:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cr3tP-0004vL-PN for pgsql-docs@postgresql.org; Thu, 23 Mar 2017 14:39:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2NEd80s019772; Thu, 23 Mar 2017 10:39:08 -0400 From: Tom Lane To: Pavel Luzanov cc: pgsql-docs@postgresql.org Subject: Re: RAISE INFO and client_min_messages In-reply-to: References: Comments: In-reply-to Pavel Luzanov message dated "Thu, 23 Mar 2017 12:03:57 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19770.1490279948.1@sss.pgh.pa.us> Date: Thu, 23 Mar 2017 10:39:08 -0400 Message-ID: <19771.1490279948@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Pavel Luzanov writes: > When working with RAISE statement in PL/pgSQL, I found a strange > situation with client_min_messages. > According to the documentation, client_min_messages does not include the > value 'INFO'. Indeed. INFO messages cannot be suppressed by client_min_messages. The reason is that they are emitted by commands like VACUUM VERBOSE, where (presumably) the entire reason the user said VERBOSE is that she wanted to see those messages. I do not recommend using INFO in "RAISE" except in cases similar to that one. regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs