Re: Combine pg_walinspect till_end_of_wal functions with others - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Combine pg_walinspect till_end_of_wal functions with others
Date
Msg-id ZArm8HgJVFjmeN8E@paquier.xyz
Whole thread Raw
In response to Re: Combine pg_walinspect till_end_of_wal functions with others  (Julien Rouhaud <rjuju123@gmail.com>)
Responses Re: Combine pg_walinspect till_end_of_wal functions with others  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-hackers
On Fri, Mar 10, 2023 at 04:04:15PM +0800, Julien Rouhaud wrote:
> As long as we provide a sensible default value (so I guess '0/0' to
> mean "no upper bound") and that we therefore don't have to manually
> specify an upper bound if we don't want one I'm fine with keeping the
> functions marked as STRICT.

FWIW, using also InvalidXLogRecPtr as a shortcut to say "Don't fail,
just do the job" is fine by me.  Something like a FFF/FFFFFFFF should
just mean the same on a fresh cluster, still it gets risky the longer
the WAL is generated.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Assert failure of the cross-check for nullingrels
Next
From: Michael Paquier
Date:
Subject: Re: Compilation error after redesign of the archive modules