Re: Pointer subtraction with a null pointer - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Pointer subtraction with a null pointer
Date
Msg-id 136314.1648320584@sss.pgh.pa.us
Whole thread Raw
In response to Re: Pointer subtraction with a null pointer  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Looks good wrt relptr_store. Maybe we should fix the double-eval hazard in
> relptr_access too, think that'd be only one left over...

Hm.  Probably not worth the trouble, because it's hard to envision
a situation where rp is not a plain lvalue.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Why is lorikeet so unstable in v14 branch only?
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Add 'basebackup_to_shell' contrib module.