pgsql: Adjust error message for partial writes in WAL segments

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Adjust error message for partial writes in WAL segments
Date: 2019-03-11 00:38:47
Message-ID: E1h38xr-0007rd-Os@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Adjust error message for partial writes in WAL segments

93473c6 has removed openLogOff, changing on the way the error message
which is used to report partial writes to WAL segments. The
newly-introduced error message used the offset up to which the write has
happened, keeping always the same total length to write. This changes
the error message so as the number of bytes left to write are reported.

Reported-by: Michael Paquier
Author: Robert Haas
Discussion: https://postgr.es/m/20190306235251.GA17293@paquier.xyz

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-03-11 00:40:12 Re: pgsql: Removed unused variable, openLogOff.
Previous Message Alvaro Herrera 2019-03-10 22:46:23 pgsql: Fix documentation on partitioning vs. foreign tables