Add log file support to logging.c
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-04-13T08:44:02Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| src/common/logging.c | modified | +27 −0 |
| src/include/common/logging.h | modified | +2 −0 |
Discussion
- [Proposal] Adding Log File Capability to pg_createsubscriber 70 messages · 2025-12-09 → 2026-04-16