pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-admin@postgresql.org
Cc: robin.c.smith@bt.com
Subject: Re: Monitoring error messages
Date: Thu, 17 Aug 2006 18:17:47 +0200
Message-ID: <200608171817.47633.peter_e@gmx.net> (raw)
In-Reply-To: <D012B9600FFB984AB18C0D53C475A4A0B2BEB2@E03MVZ3-UKDY.domain1.systemhost.net>
References: <D012B9600FFB984AB18C0D53C475A4A0B2BEB2@E03MVZ3-UKDY.domain1.systemhost.net>

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/



view thread (3+ messages)

Message-ID: <200608171817.47633.peter_e@gmx.net>
Permalink:  ../200608171817.47633.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200608171817.47633.peter_e@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: peter_e@gmx.net, robin.c.smith@bt.com
  Subject: Re: Monitoring error messages
  In-Reply-To: <200608171817.47633.peter_e@gmx.net>
  References: <D012B9600FFB984AB18C0D53C475A4A0B2BEB2@E03MVZ3-UKDY.domain1.systemhost.net> <200608171817.47633.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox