Re: pg_walfile_name_offset can return inconsistent values - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_walfile_name_offset can return inconsistent values
Date
Msg-id ZVFgZraGGxkbE4-d@paquier.xyz
Whole thread Raw
In response to Re: pg_walfile_name_offset can return inconsistent values  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Fri, Nov 10, 2023 at 07:59:43PM -0800, Andres Freund wrote:
> I think this needs to add tests "documenting" the changed behaviour and
> perhaps also for a few other edge cases.  You could e.g. test
>   SELECT * FROM pg_walfile_name_offset('0/0')
> which today returns bogus values, and which is independent of the wal segment
> size.

+1.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Cleaning up array_in()
Next
From: Tom Lane
Date:
Subject: Re: Cleaning up array_in()