From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] logging statement levels |
Date: | 2004-04-06 15:21:54 |
Message-ID: | 4072CB12.5040407@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Bruce Momjian wrote:
>Andrew Dunstan wrote:
>
>
>>Unless I'm missing something, this patch has the effect that with values
>>of "ddl" or "mod" for log_statement, a statement with a parse error
>>will not be logged, which was what I hoped to avoid.
>>
>>
>
>Right. The query type can't be determined during a syntax error because
>the parser couldn't identify the supplied command. I think that is
>fine.
>
>What it does allow is to for 'all' to display the command before the
>syntax error.
>
>
>
If I had to make a choice I'd go the other way.
However, I think with a little extra work it might be possible to have both.
I will look into it at some stage.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2004-04-06 15:32:41 | Re: Function to kill backend |
Previous Message | Bruce Momjian | 2004-04-06 15:15:16 | Re: Function to kill backend |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-04-06 15:38:53 | Re: [HACKERS] logging statement levels |
Previous Message | Bruce Momjian | 2004-04-06 15:00:28 | Re: [HACKERS] logging statement levels |