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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [BUGS] BUG #3799: csvlog skips some logs
Дата
Msg-id 20071206180401.GI8451@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #3799: csvlog skips some logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> "depesz" <depesz@depesz.com> writes:
> > Description:        csvlog skips some logs
> 
> The point here is that CSV-format log output doesn't include the
> DETAIL, HINT, or context (QUERY/STATEMENT/CONTEXT) lines that
> you might get with normal output.
> 
> I suppose this was intentional in order to keep the CSV output
> format manageable, but I have to wonder whether it's really a
> good idea.  I can see the argument that you probably don't need
> to log HINTs, but the other stuff might be important.  Particularly
> the STATEMENT.

Hmm.  I think it could be a problem in cases where an error message with
identical wording is disambiguated by context.  In my VH opinion we
shouldn't be losing log info just because we're using a different
format.

-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Linux transformó mi computadora, de una `máquina para hacer cosas',
en un aparato realmente entretenido, sobre el cual cada día aprendo
algo nuevo" (Jaime Salinas)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and BINARY mode COPY
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pg_dump and BINARY mode COPY