Re: [pgsql-patches] [PATCHES] Patch to log usage of temporary files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [pgsql-patches] [PATCHES] Patch to log usage of temporary files
Дата
Msg-id 9287.1168630145@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [pgsql-patches] [PATCHES] Patch to log usage of temporary files  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Ответы Re: [pgsql-patches] [PATCHES] Patch to log usage of temporary files  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-hackers
"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.

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

            regards, tom lane

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

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: [pgsql-patches] [PATCHES] Patch to log usage of temporary files
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-patches] [PATCHES] Patch to log usage of temporary