Re: [PATCHES] [HACKERS] logging statement levels

2004-04-06 Thread Andrew Dunstan
[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. S

Re: [HACKERS] logging statement levels

2004-03-31 Thread Bruce Momjian
Andrew Dunstan wrote: > Bruce Momjian wrote: > > >Andrew Dunstan wrote: > > > > > > > wow. that was nearly 3 months ago ... Oh, I remember why I kept this email now. I am going to try to code this. > Subsequent discussion suggested we should add "syntax-errors" to the > allowed values (and

Re: [HACKERS] logging statement levels

2004-03-31 Thread Andrew Dunstan
Bruce Momjian wrote: Andrew Dunstan wrote: wow. that was nearly 3 months ago ... I wrote: If nobody is working on this I am prepared to look at it: . Allow logging of only data definition(DDL), or DDL and modification statements Here are some options: 1. change the type of

Re: [HACKERS] logging statement levels

2004-03-30 Thread Bruce Momjian
Andrew Dunstan wrote: > I wrote: > > > > > > > If nobody is working on this I am prepared to look at it: > > > > . Allow logging of only data definition(DDL), or DDL and modification > > statements > > > > > > Here are some options: > > 1. change the type of "log_statement" option from boolea

[HACKERS] logging statement levels

2004-01-05 Thread Andrew Dunstan
I wrote: If nobody is working on this I am prepared to look at it: . Allow logging of only data definition(DDL), or DDL and modification statements Here are some options: 1. change the type of "log_statement" option from boolean to string, with allowed values of "all, mod, ddl, none" with