pgsql: pg_resetwal: Use frontend logging API

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_resetwal: Use frontend logging API
Date: 2023-09-28 10:01:51
Message-ID: E1qlnqB-006RIt-Kc@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_resetwal: Use frontend logging API

This now causes error messages related to the lack of the -f option to
appear on standard error rather than standard output.

Reviewed-by: Aleksander Alekseev <aleksander(at)timescale(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/0f3ab4a1-ae80-56e8-3426-6b4a02507687(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a11d8e10f226c5a2072c1640bd1d70403ae4c4fa

Modified Files
--------------
src/bin/pg_resetwal/pg_resetwal.c | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-09-28 10:17:14 pgsql: doc: Improve documentation about pg_resetwal -f option
Previous Message Peter Eisentraut 2023-09-28 09:54:31 pgsql: pg_resetwal: Regroup --help output