pgsql: Fix order of columns in pg_stat_recovery

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix order of columns in pg_stat_recovery
Date: 2026-03-06 05:41:54
Message-ID: E1vyNwg-002cze-1w@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix order of columns in pg_stat_recovery

recovery_last_xact_time is listed before current_chunk_start_time in the
documentation, the function definition and the view definition, but
their order was reversed in the code.

Thinko in 01d485b142e4. Mea culpa.

Author: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAOzEurQQ1naKmPJhfE5WOUQjtf5tu08Kw3QCGY5UY=7Rt9fE=w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2d4ead6f4bd0e30df15dc0ae654c9ce573f41bed

Modified Files
--------------
src/backend/access/transam/xlogfuncs.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-03-06 06:05:22 pgsql: Fix inconsistency with HeapTuple freeing in extended_stats_funcs
Previous Message Amit Kapila 2026-03-06 05:35:08 pgsql: Fix inconsistent elevel in pg_sync_replication_slots() retry log