pgsql: Add capability to suppress CONTEXT: messages to elog machinery. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add capability to suppress CONTEXT: messages to elog machinery.
Date
Msg-id E1Y4Bau-0005fQ-D2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add capability to suppress CONTEXT: messages to elog machinery.

Hiding context messages usually is not a good idea - except for rather
verbose debugging/development utensils like LOG_DEBUG. There the
amount of repeated context messages just bloat the log without adding
information.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/570bd2b3fd20d3f8896f5e6a8133d6aed385ac86

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


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Improve LWLock scalability.
Next
From: Andres Freund
Date:
Subject: pgsql: Lockless StrategyGetBuffer clock sweep hot path.