Re: WIP patch - INSERT-able log statements

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: WIP patch - INSERT-able log statements
Дата
Msg-id 20070219171555.GW28395@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: WIP patch - INSERT-able log statements  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-patches
Guillaume Smet escribió:
> On 2/19/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> >So add the session ID (%c) to log_line_prefix.
>
> It could work if log_line_prefix was added before every line but it's
> definitely not the case:
> myuser mydb 45d9d615.4abe LOG:  duration : 185.223 ms, statement : SELECT *
>        FROM lieu
>        LIMIT 10;
> if you execute:
> SELECT *
> FROM lieu
> LIMIT 10;

Interesting.  I wonder why didn't you report this as a bug before?
Maybe we could have discussed it and fixed it.

This is irrelevant in this particular discussion anyway if we introduce
SQL format, because then the newline should be part of the COPY or INSERT
data.  Let's just make sure to not make the same errors again.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Recalculating OldestXmin in a long-running vacuum
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] BUG #2977: dow doesn't conform to ISO-8601