Search Postgresql Archives

Re: how to supress Notice messages or decrease verbosity level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux