pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org, Robert Haas <robertmhaas@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Subject: Re: Pointer subtraction with a null pointer
Date: Sat, 26 Mar 2022 14:49:44 -0400
Message-ID: <136314.1648320584@sss.pgh.pa.us> (raw)
In-Reply-To: <20220326184147.dhkoghv52kkfrpi4@alap3.anarazel.de>
References: <48826.1648310694@sss.pgh.pa.us>
	<49360.1648311192@sss.pgh.pa.us>
	<20220326163441.qzpcioycozbzarsf@alap3.anarazel.de>
	<51678.1648312664@sss.pgh.pa.us>
	<55128.1648315414@sss.pgh.pa.us>
	<20220326174953.gdeasrl5wzal42ic@alap3.anarazel.de>
	<103098.1648318436@sss.pgh.pa.us>
	<20220326184147.dhkoghv52kkfrpi4@alap3.anarazel.de>

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





view thread (14+ messages)  latest in thread

Message-ID: <136314.1648320584@sss.pgh.pa.us>
Permalink:  ../136314.1648320584@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/136314.1648320584@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, robertmhaas@gmail.com, thomas.munro@gmail.com
  Subject: Re: Pointer subtraction with a null pointer
  In-Reply-To: <136314.1648320584@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox