Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i3pU8-0000I8-5d for pgsql-general@arkaria.postgresql.org; Fri, 30 Aug 2019 22:35:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i3pU6-0005q0-NJ for pgsql-general@arkaria.postgresql.org; Fri, 30 Aug 2019 22:35:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i3pU6-0005pt-Di for pgsql-general@lists.postgresql.org; Fri, 30 Aug 2019 22:35:10 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i3pTz-0001k5-P5 for pgsql-general@lists.postgresql.org; Fri, 30 Aug 2019 22:35:09 +0000 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 46KvS61VTgzlhL for ; Fri, 30 Aug 2019 18:35:02 -0400 (EDT) Received: by panix2.panix.com (Postfix, from userid 17622) id 46KvS6068Tz1ZVM; Fri, 30 Aug 2019 18:35:02 -0400 (EDT) Date: Fri, 30 Aug 2019 18:35:01 -0400 From: stan To: pgsql-general@lists.postgresql.org Subject: Re: How to get RAISE messges displayed? Message-ID: <20190830223501.GA6854@panix.com> References: <20190830222214.GE12804@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190830222214.GE12804@panix.com> X-Editor: gVim User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Aug 30, 2019 at 06:22:14PM -0400, stan wrote: > OK, I am doing enough of this to start using some debug error messages. > > I put the following in a function declaration: > > RAISE notice 'Called with %', $1 ; > > But, when I call the function I do not see anything. I edited postgresql.conf > > Like this: > > client_min_messages = notice > #client_min_messages = notice # values in order of decreasing detail: > > Event though it looked like this should be the default. > > restarted Postgres with: > > /etc/init.d/postgresql restart > > But I still do not see this, or see it in the log when I call this function. > > Ubuntu 18.04 a Postgresql 11 if that matters. > Got it working. Not 100% sure what I had wrong. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin