Problem There's a bug in pgAdmin3 query editor which sets client_min_messages to NOTICE regardless of the setting in the options dialog. Workaround Run this statement once in each query editor window using DEBUG logging SET client_min_messages to 'DEBUG1';