pgsql: Add a hook for processing messages due to be sent to the server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add a hook for processing messages due to be sent to the server
Дата
Msg-id E1S516u-0006gk-Mh@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add a hook for processing messages due to be sent to the server log.

Use-cases for this include custom log filtering rules and custom log
message transmission mechanisms (for instance, lossy log message
collection, which has been discussed several times recently).

As is our common practice for hooks, there's no regression test nor
user-facing documentation for this, though the author did exhibit a
sample module using the hook.

Martin Pihlak, reviewed by Marti Raudsepp

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/19dbc3463161a142537ba5c569c8e6a073a318de

Modified Files
--------------
src/backend/utils/error/elog.c |   26 ++++++++++++++++++++++++++
src/include/utils/elog.h       |    4 ++++
2 files changed, 30 insertions(+), 0 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Typo fix.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: libpq: Small code clarification, and avoid casting away const