> On 29 Aug 2025, at 11:52, Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
> Hmm, this begs the question -- why do we make generate_restrict_key()
> return NULL in that case? Maybe we should redefine its contract to be
> that it either returns a valid key, or it calls pg_fatal(). Then
> callers don't have to worry about it.
That is certainly an option.
--
Daniel Gustafsson