]> granicus.if.org Git - postgresql/commit
Lessen library-loading log level.
authorJeff Davis <jdavis@postgresql.org>
Sun, 24 Nov 2013 18:50:54 +0000 (10:50 -0800)
committerJeff Davis <jdavis@postgresql.org>
Sun, 24 Nov 2013 18:50:54 +0000 (10:50 -0800)
commit559d535819908adfe2d2ca674fb8562bbd133cef
treed72b6afad599ce8731009efdeb24dc29b55f763d
parent36a3be6540b90c6a5d307c0ed9de2076ce5a821c
Lessen library-loading log level.

Previously, messages were emitted at the LOG level every time a
backend preloaded a library. That was acceptable (though unnecessary)
for shared_preload_libraries; but it was excessive for
local_preload_libraries and session_preload_libraries. Reduce to
DEBUG1.

Also, there was logic in the EXEC_BACKEND case to avoid repeated
messages for shared_preload_libraries by demoting them to
DEBUG2. DEBUG1 seems more appropriate there, as well, so eliminate
that special case.

Peter Geoghegan.
src/backend/utils/init/miscinit.c