Re: [martin@bugs.unl.edu.ar: BUG in logs] - Mailing list pgsql-bugs

From Guillaume Smet
Subject Re: [martin@bugs.unl.edu.ar: BUG in logs]
Date
Msg-id 1d4e0c10604111451i293af76dlea5c2009785dfb8b@mail.gmail.com
Whole thread Raw
In response to [martin@bugs.unl.edu.ar: BUG in logs]  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: [martin@bugs.unl.edu.ar: BUG in logs]  (Martin Marques <martin@bugs.unl.edu.ar>)
List pgsql-bugs
> From: Martin Marques <martin@bugs.unl.edu.ar>
> I encountered a rare BUG in the way PG is logging. Let me first enlight w=
ith some configuration I have and PG version:

Perhaps I'm missing something but I think it's not a bug but a
configuration problem.

>  log_min_error_statement    | panic

If you set this one to error instead of panic, you will have your
failed statements logged.

>  log_statement              | all

This one only logs successful queries so it's normal you don't have
the statement in the log file if it fails.

Regards,

--
Guillaume

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: [martin@bugs.unl.edu.ar: BUG in logs]
Next
From: "Peter Brant"
Date:
Subject: Re: right sibling is not next child