pgsql: pg_resetwal: Update an obsolete comment

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_resetwal: Update an obsolete comment
Date: 2023-09-28 09:35:31
Message-ID: E1qlnQh-006R6X-Os@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_resetwal: Update an obsolete comment

The comment claimed that pg_resetwal updates the pg_control file if it
is of an old version. This has apparently never been true. Also, in
c3c09be34b, another comment was added elsewhere that this currently
does not happen. So this comment is wrong and redundant and can be
removed.

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/7273945cafa7a068ca2bcc617df1be1c7404de87

Modified Files
--------------
src/bin/pg_resetwal/pg_resetwal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-09-28 09:46:54 pgsql: pg_resetwal: Improve error with wrong/missing data directory
Previous Message Michael Paquier 2023-09-28 06:18:26 pgsql: Show parameters of CALL as constants in pg_stat_statements