log_min_duration_statement feature

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема log_min_duration_statement feature
Дата
Msg-id 20030422233603.N10547-200000@houston.familyhealth.com.au
обсуждение исходный текст
Ответы Re: log_min_duration_statement feature  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
OK,

I've implemented the TODO feature:

* Add GUC log_statement_and_duration to print statement and >= min
duration

..except I've given it a more consistent name.

This new feature will really help me find slow queries in my codebase.

The only thing that I'm not 100% on is the ong >= int * 1000 comparison I
do - will that overflow if the user has supplied max int?

Chris


Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: holdable cursor mop-up
Следующее
От: Tom Lane
Дата:
Сообщение: Re: log_min_duration_statement feature