]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add log file support to logging.c
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 13 Apr 2026 08:44:02 +0000 (10:44 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 13 Apr 2026 08:44:02 +0000 (10:44 +0200)
commit41237556f8c554f691968dbdce5fa6f4012e8036
tree3e2a7c0d528ec00164bb03c4e871090ee7a829da
parent8f81c923516237fe842f800a77d4556f9dc35fe5
Add log file support to logging.c

This adds the ability for users of logging.c to provide a file handle
for a log file, where log messages are also written in addition to
stderr.

Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAEqnbaUthOQARV1dscGvB_EsqC-YfxiM6rWkVDHc%2BG%2Bf4oSUHw%40mail.gmail.com
src/common/logging.c
src/include/common/logging.h