Re: pgsql: Remove endof macro

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Remove endof macro
Date: 2017-09-05 19:10:13
Message-ID: 20170905191013.klfktiol3wd3yrrj@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hi,

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.

Andres

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-05 19:57:54 pgsql: Use lfirst_node() and linitial_node() where appropriate in plann
Previous Message Peter Eisentraut 2017-09-05 19:08:06 pgsql: Remove unnecessary casts