From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make some xlogreader messages more accurate |
Date: | 2023-03-02 06:59:55 |
Message-ID: | E1pXcuw-001UZU-Tr@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make some xlogreader messages more accurate
When you have some invalid WAL, you often get a message like "wanted
24, got 0". This is a bit incorrect, since it really wanted *at
least* 24, not exactly 24. This updates the messages to that effect,
and also adds that detail to one message where it was available but
not printed.
Reviewed-by: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Reviewed-by: Jeevan Ladhe <jeevanladhe(dot)os(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/726d782b-5e45-0c3e-d775-6686afe9aa83%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4ac30ba4f29d4b586b131404b0d514f16501272a
Modified Files
--------------
src/backend/access/transam/xlogreader.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2023-03-02 13:10:01 | pgsql: Fix outdated references to guc.c |
Previous Message | Michael Paquier | 2023-03-02 05:04:31 | pgsql: pageinspect: Fix crash with gist_page_items() |