| From: | Amit Kapila <akapila(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_createsubscriber: Introduce module-specific logging functions |
| Date: | 2026-03-23 03:59:05 |
| Message-ID: | E1w4WRU-0011sZ-2I@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pg_createsubscriber: Introduce module-specific logging functions.
Replace generic pg_log_* calls with report_createsub_log() and
report_createsub_fatal(). This refactor provides the necessary
infrastructure to support logging to external files via the -l option.
These new functions enable the utility to route messages to both the
terminal and a log file based on the logging configuration and verbosity
levels provided by the user.
Author: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Author: Gyan Sreejith <gyan(dot)sreejith(at)gmail(dot)com>
Reviewed-by: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Reviewed-by: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAEqnbaUthOQARV1dscGvB_EsqC-YfxiM6rWkVDHc+G+f4oSUHw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d6628a5ea0a56b62eb3feaa8d8210ce76e9afc2c
Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 749 ++++++++++++++++++----------
1 file changed, 477 insertions(+), 272 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-03-23 07:00:31 | pgsql: headerscheck: Get CXXFLAGS from Makefile.global |
| Previous Message | Michael Paquier | 2026-03-23 00:05:37 | pgsql: Add missing deflateEnd() for server-side gzip base backups |