On Wed, Jun 22, 2022 at 12:34 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> > For the record, the third idea proposed was to use 1 for the first
> > byte, so that 0 is reserved for NULL and works with memset(0). Here's
> > an attempt at that.
>
> ... erm, though, duh, I forgot to adjust Assert(val > base). One more time.
I like this idea and think this might have the side benefit of making
it harder to get away with accessing relptr_off directly.
--
Robert Haas
EDB: http://www.enterprisedb.com