Re: pg_stat_statements : how to catch non successfully finishedstatements ?

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: pg_stat_statements : how to catch non successfully finishedstatements ?
Дата
Msg-id 1525903576324-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: pg_stat_statements : how to catch non successfully finishedstatements ?  (legrand legrand <legrand_legrand@hotmail.com>)
Список pgsql-general
Hello,

Here is a patch that  :
- adds a new guc: pg_stat_statements.track_errors boolean (default to true),
- capture of DML, DDL, PL/PGSQL commands in error into pgss.

There is always a risk that new code used in PG_CATCH (mainly pgss_store)
gives an error.
I'm not able to tell when it could occur and what would be the impact ...

see
pgss_with_errors.patch
<http://www.postgresql-archive.org/file/t348768/pgss_with_errors.patch>  

pgss_with_errors.txt
<http://www.postgresql-archive.org/file/t348768/pgss_with_errors.txt>  

Regards
PAscal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


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

Предыдущее
От: Antonio Silva
Дата:
Сообщение: Re: issues when installing postgres
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Error creating plpython3u extension