pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove endof macro
Date: Wed, 6 Sep 2017 22:37:02 -0400
Message-ID: <69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com> (raw)
In-Reply-To: <20170905191013.klfktiol3wd3yrrj@alap3.anarazel.de>
References: <E1dpJCg-00018P-7N@gemulon.postgresql.org>
	<20170905191013.klfktiol3wd3yrrj@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 9/5/17 15:10, Andres Freund wrote:
> On 2017-09-05 19:08:06 +0000, Peter Eisentraut wrote:
>> Remove endof macro
>>
>> It has not been used in a long time, and it doesn't seem safe anyway, so
>> drop it.
> 
> I've no problem removing this, but why isn't it safe? It's explicitly
> allowed to compute (not dereference) the address of
> end-of-array-plus-one.

You are right.  I misinterpreted some of the old commits.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (3+ messages)

Message-ID: <69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com>
Permalink:  ../69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com/
Also on:    postgresql.org/message-id/69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, andres@anarazel.de
  Subject: Re: pgsql: Remove endof macro
  In-Reply-To: <69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com>
  References: <E1dpJCg-00018P-7N@gemulon.postgresql.org> <20170905191013.klfktiol3wd3yrrj@alap3.anarazel.de> <69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com>

* 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