Re: [Proposal] Adding Log File Capability to pg_createsubscriber
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>,
Amit Kapila <amit.kapila16@gmail.com>,
Gyan Sreejith <gyan.sreejith@gmail.com>
Cc: Peter Smith <smithpb2250@gmail.com>, shveta malik
<shveta.malik@gmail.com>, Shlok Kyal <shlok.kyal.oss@gmail.com>,
vignesh C <vignesh21@gmail.com>, Euler Taveira <euler@eulerto.com>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-07T13:37:06Z
Lists: pgsql-hackers
On 01.04.26 07:05, Hayato Kuroda (Fujitsu) wrote: > Dear Peter E., > >> Instead of creating a new logging API in pg_createsubscriber locally, >> why not extend logging.c to support a log file. > > I had a concern to extend the common module. Do you have possible idea to use > pg_logging_set_logfile() on others? I cannot, tee command on linux seems enough > for others. pg_upgrade was mentioned.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_createsubscriber: Don't use MAXPGPATH
- 99b726ac4894 19 (unreleased) landed
-
pg_createsubscriber: Remove separate logfile_open() function
- f5528b90b411 19 (unreleased) landed
-
pg_createsubscriber: Use logging.c log file callback
- 847336ba53af 19 (unreleased) landed
-
Add log file support to logging.c
- 41237556f8c5 19 (unreleased) landed
-
pg_createsubscriber: Add -l/--logdir option to redirect output to files.
- 6b5b7eae3ae6 19 (unreleased) landed
-
pg_createsubscriber: Introduce module-specific logging functions.
- d6628a5ea0a5 19 (unreleased) landed
-
Fix another buglet in archive_waldump.c.
- 69c57466a752 19 (unreleased) cited