Re: [HACKERS] [PATCHES] Patch to log usage of temporary files

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Дата
Msg-id 1d4e0c10701121148x47efed86h39c27622cf97e78a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCHES] Patch to log usage of temporary files  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] [PATCHES] Patch to log usage of temporary files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On 1/12/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Guillaume Smet" <guillaume.smet@gmail.com> writes:
> > That's not what I had in mind. I was asking if the text of the query
> > was available when logging the temp file usage. If so it could be good
> > to add a DETAIL line with it directly and systematically when logging
> > the temp file usage.
>
> (1) you could make that argument about *any* log message whatsoever.

Yes, probably. The fact is I can't figure out how I will use this
information if I don't know why the file was created but perhaps I
should just wait this release and see how I can use it in a production
environment.

> (2) there is already a generalized solution to this, it's called
> log_min_error_statement.

I didn't think of that when posting my message but Bruce seems to say
that we can't use it in this case.

--
Guillaume

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Patch to log usage of temporary
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] [PATCHES] Patch to log usage of temporary files