Allow auto_explain to log to NOTICE

Поиск
Список
Период
Сортировка
От Tom Dunstan
Тема Allow auto_explain to log to NOTICE
Дата
Msg-id CAPPfruyZh+snR2AdmutrA0B_caj=yWZkLqxUTZYNjJCaQ_wKQg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Allow auto_explain to log to NOTICE  (Andres Freund <andres@anarazel.de>)
Re: Allow auto_explain to log to NOTICE  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
Hi all

This patch allows a user to configure auto_explain to log to NOTICE instead of the server log. This allows automated testing of application-generated queries to ensure correct plans etc from code that can inspect returned notices but not the server log.

I don't see any tests for auto_explain so haven't added any test cases. Happy to do so if that's deemed necessary.


Cheers

Tom

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: Oddity in tuple routing for foreign partitions
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Allow auto_explain to log to NOTICE