Re: [HACKERS] BUG #3799: csvlog skips some logs

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, depesz <depesz(at)depesz(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] BUG #3799: csvlog skips some logs
Date: 2007-12-10 15:24:57
Message-ID: 20071210152457.GG8036@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> > If it's about what to quote, we need to quote anything that might
> > contain a newline, quote or comma. Filenames certainly come into that
> > category.
>
> These are not general file paths, these are base names of our own C
> source code files. I don't have a problem with legislating that we will
> never have such characters in backend source file names ...

Yeah, I was about to say the same thing, but the problem is that the
field is constructed like

function, file:line

so there is a comma anyway.

(We could split it, but since this is only emitted in the
log_error_verbosity=verbose case, I don't think it makes much sense.)

--
Alvaro Herrera http://www.flickr.com/photos/alvherre/
"I suspect most samba developers are already technically insane...
Of course, since many of them are Australians, you can't tell." (L. Torvalds)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message A. Ozen Akyurek 2007-12-10 20:30:21 BUG #3812: Delphi TADOStored procedure truncates time portion of the ftDateTime parameter using ODBC
Previous Message Tom Lane 2007-12-10 15:19:47 Re: [HACKERS] BUG #3799: csvlog skips some logs

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2007-12-10 15:30:48 Re: whats the deal with -u ?
Previous Message Tom Lane 2007-12-10 15:24:39 Re: O(n^2) aggregates