Re: how to supress Notice messages or decrease verbosity level - Mailing list pgsql-general

From Keve Nagy
Subject Re: how to supress Notice messages or decrease verbosity level
Date
Msg-id 3op3opF7362gU1@individual.net
Whole thread Raw
List pgsql-general
Keve Nagy wrote:
> I get NOTICE messages messing up the screen, telling me the obvious
> thing that indexes had to be created for the UNIQUE or PRIMARY KEY
> constraint.

If anybody else is interested, the solution is:

SET LOCAL client_min_messages TO 'warning';

This will suppress all NOTICE messages for the transaction, and then
return to the original state which is client_min_messages = 'notice' by
default.

YES< I love answering my own posts!
:-)

Regards,
Keve

--
If you need to reply directly:
keve(at)mail(dot)poliod(dot)hu

pgsql-general by date:

Previous
From: Andrew Rawnsley
Date:
Subject: Re: Replication
Next
From: Brent Wood
Date:
Subject: Re: Partial dates