Re: Add LSN along with offset to error messages reported for WAL file read/write/validate header failures
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
Nathan Bossart <nathandbossart@gmail.com>
Cc: alvherre@alvh.no-ip.org, pgsql-hackers@lists.postgresql.org
Date: 2022-10-27T09:28:08Z
Lists: pgsql-hackers
Attachments
- v2-0001-Add-LSN-along-with-offset-to-error-messages-repor.patch (application/x-patch) patch v2-0001
- v2-0002-Introduce-pg_walfile_offset_lsn.patch (application/x-patch) patch v2-0002
On Tue, Oct 4, 2022 at 2:58 PM Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote: > > On Thu, Sep 29, 2022 at 7:43 PM Bharath Rupireddy > <bharath.rupireddyforpostgres@gmail.com> wrote: > > > > Please see the attached v1 patch. > > FWIW, I'm attaching Nathan's patch that introduced the new function > pg_walfile_offset_lsn as 0002 in the v1 patch set. Here's the CF entry > - https://commitfest.postgresql.org/40/3909/. > > Please consider this for further review. I'm attaching the v2 patch set after rebasing on to the latest HEAD. -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Rename pg_dissect_walfile_name() to pg_split_walfile_name()
- 13e0d7a60385 16.0 landed
-
Add pg_dissect_walfile_name()
- cca186348929 16.0 landed
-
Add LSN location in some error messages related to WAL pages
- 71cb84ec69a3 16.0 landed