Re: Proposal: roll pg_stat_statements into core

Поиск
Список
Период
Сортировка
От Alvaro Herrera from 2ndQuadrant
Тема Re: Proposal: roll pg_stat_statements into core
Дата
Msg-id 20190905160755.GA6413@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Proposal: roll pg_stat_statements into core  (Euler Taveira <euler@timbira.com.br>)
Список pgsql-hackers
On 2019-Sep-02, Euler Taveira wrote:

> At least if pg_stat_statements
> was in core you could load it by default and have a GUC to turn it
> on/off without restarting the server (that was Magnus proposal and
> Andres agreed). I support this idea.

Actually this is possible without moving to part of core, too -- change
things so that putting it in shared_preload_libraries reserves the shmem
area but does not enable collection, then have a separate GUC that
enables/disables collection.  A bit like archive_mode=on,
archive_command=/bin/true, which allows to change archive_command
without restarting.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CVE-2017-7484-induced bugs, or, btree cmp functions are not leakproof?
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: accounting for memory used for BufFile during hash joins