Re: Monitoring error messages - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: Monitoring error messages
Date
Msg-id 200608171817.47633.peter_e@gmx.net
Whole thread Raw
In response to Monitoring error messages  (<robin.c.smith@bt.com>)
List pgsql-admin
robin.c.smith@bt.com wrote:
> These are both logged as ERROR: which is easy to check for with
> automatic monitoring. However I wouldn't want to be called out to fix
> a non-existent error where someone has typed in some nonsense. Is it
> easy to suppress the syntax errors so that the real database errors
> are obvious?

I think the short answer is "No", unless you do your own
post-processing.  But note that syntax errors may also point to
mistakes in your application code.

If you want to filter out randomness that occurs during interactive
sessions, I'd rather attack the problem there.  You could, for example,
alter the logging settings in your .psqlrc file.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: RES: Issue on Varchar Ordering
Next
From: Erika Terahata Torres Prada e Silva - MPS
Date:
Subject: RES: RES: Issue on Varchar Ordering