Re: [PATCHES] logging statement levels

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To:
Cc: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] logging statement levels
Date: 2004-04-06 22:09:36
Message-ID: 40732AA0.5070407@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


[moved to hackers]

Bruce Momjian wrote:

>Andrew Dunstan wrote:
>
>
>>Why do we have log_min_error_statement default to PANIC level? Wouldn't
>>ERROR be a better default?
>>
>>
>
>Panic basically means off, meaning we don't print queries that generate
>errors. Should we print them by default?
>
>
>
I would. Some error happens and you don't know what statement caused it,
by which time it is too late to go back and turn up error statement logging.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-04-06 22:19:21 Re: Function to kill backend
Previous Message Bruce Momjian 2004-04-06 22:00:16 Re: Function to kill backend

Browse pgsql-patches by date

  From Date Subject
Next Message Dan Graham 2004-04-07 01:35:22 LIKE vs regex queries
Previous Message Bruce Momjian 2004-04-06 21:21:01 Re: [HACKERS] logging statement levels