Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpJF8-0000LC-Gz for pgsql-committers@arkaria.postgresql.org; Tue, 05 Sep 2017 19:10:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dpJF8-0000wM-3j for pgsql-committers@arkaria.postgresql.org; Tue, 05 Sep 2017 19:10:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dpJEs-0008Uy-3r for pgsql-committers@postgresql.org; Tue, 05 Sep 2017 19:10:22 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dpJEm-0006Me-07 for pgsql-committers@postgresql.org; Tue, 05 Sep 2017 19:10:20 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6227D21215; Tue, 5 Sep 2017 15:10:15 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 05 Sep 2017 15:10:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=760uwwWk645yuubhC/ MnswDLRKXpMP7VJvH2g11SAjo=; b=hHiJFW28gcL7RcS4isimrpFshEO8vPvuOk LrVE5ncsSFFOAv/wdK/LjNVmRnkd+vjKKrZ0yF2zRAvg7CPUWb/xyln13rvCCFqK tvQbvhLTmHDBO5hbTGey4S88sT9Fv7O3h90zg+wOCdIhtDb1ILXoY72O+rHqH4Yn y7RcqOkHVPcTkebjvJ8tX1F7xh5jyHM+eTjNuFGtJVoINqWedwtq3fbe5dKgjb5U VyC5KDWZ1bziYF1cJNOMhfgtrNsPc7HFiEVQLyGqo57RVu5J/wXHKmAGEuJHlIru 3LTfrPgtCtdi+sUPO/pLeWjDLBNK7jX2QzICMSZ7S4mrkf5Q3U5Q== X-ME-Sender: X-Sasl-enc: j/8RnJydITc/ijf9IRo2EKftyr+Kq7Si7ceAQH9wWvjw 1504638615 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 1DB17240AF; Tue, 5 Sep 2017 15:10:15 -0400 (EDT) Date: Tue, 5 Sep 2017 12:10:13 -0700 From: Andres Freund To: Peter Eisentraut Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Remove endof macro Message-ID: <20170905191013.klfktiol3wd3yrrj@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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 -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers