Re: Monitoring error messages

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Cc: robin(dot)c(dot)smith(at)bt(dot)com
Subject: Re: Monitoring error messages
Date: 2006-08-17 16:17:47
Message-ID: 200608171817.47633.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

robin(dot)c(dot)smith(at)bt(dot)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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Erika Terahata Torres Prada e Silva - MPS 2006-08-17 21:05:53 RES: RES: Issue on Varchar Ordering
Previous Message Peter Eisentraut 2006-08-17 16:15:08 Re: RES: Issue on Varchar Ordering