pgsql: Fix interaction of log_line_prefix's query_id and log_statement

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: Fix interaction of log_line_prefix's query_id and log_statement
Дата
Msg-id E1lYthS-0003b9-OF@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix interaction of log_line_prefix's query_id and log_statement

log_statement is issued before query_id can be computed, so properly
clear the value, and document the interaction.

Reported-by: Fujii Masao, Michael Paquier

Discussion: https://postgr.es/m/YHPkU8hFi4no4NSw@paquier.xyz

Author: Julien Rouhaud

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/db01f797dd48f826c62e1b8eea70f11fe7ff3efc

Modified Files
--------------
doc/src/sgml/config.sgml                    | 10 ++++++++++
src/backend/utils/activity/backend_status.c |  1 +
2 files changed, 11 insertions(+)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: adjust query id feature to use pg_stat_activity.query_id
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix under-parenthesized XLogRecHasBlockRef() macro.