Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dq16N-0000cZ-6R for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Sep 2017 18:00:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dq16M-0007wR-PN for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Sep 2017 18:00:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dq16M-0007wH-8h for pgsql-hackers@postgresql.org; Thu, 07 Sep 2017 18:00:30 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dq16D-0004NI-RZ for pgsql-hackers@postgresql.org; Thu, 07 Sep 2017 18:00:29 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2416820F50; Thu, 7 Sep 2017 14:00:20 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Thu, 07 Sep 2017 14:00:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=26HTKIkkrBFXZQArrvEPxnT5BaxgPN8zaqtWANdMa4Q=; b=I/Cogtop VkHkjdpUTzVoQe1SMcvHRXDOLLayjFSuRacxkOH9tVGCsyfBn18iLHqw96au58UA QGj+5kS/if3Jk0FlxBam45ofes84BljpP2sd6jJvoDaVYXyqJAM2hgFA0E8n7V9j mwzvXgHKHwfymh32cEmYH9xrZ+0EM2wZ7jxVyJvg2380jIyx/GGejsop0J1EgXuk i44mzCJW2pty6hm0MKDDY1nzwzMaUGd4BgC+j9YKCkhn3C8TLl9AhFD0yi7pQK2q QDwKBksFUyTe4CWgYIV91F7tbAxwgazjmrcK1zWOFOBr7/EkrVKY9P6ButwZznQ9 L9AkXMmXCW7YeA== X-ME-Sender: X-Sasl-enc: mlbZlRfqJ8L8Z8jHi2Hq1PdjK/4emzqNiYnllylS7Fai 1504807219 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id C9BA42471B; Thu, 7 Sep 2017 14:00:19 -0400 (EDT) Subject: Re: assorted code cleanup To: Tom Lane References: <2beab0ef-69f9-dab3-cacd-8fdf417bca96@2ndquadrant.com> <11524.1504639947@sss.pgh.pa.us> Cc: Michael Paquier , pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <98ba2e15-250b-8bce-fa4c-777e0d76cd4e@2ndquadrant.com> Date: Thu, 7 Sep 2017 14:00:18 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <11524.1504639947@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 9/5/17 15:32, Tom Lane wrote: > At one time there were C compilers that only accepted the former syntax. Correct. Explanation here: http://c-faq.com/ptrs/funccall.html > I do agree with the idea that we should use the * notation in cases where > the reader might otherwise think that a plain function was being invoked, > ie I don't like > > some_function_pointer(args); > > Even if the compiler isn't confused, readers might be. But in the case of > > structname->pointerfield(args); > > it's impossible to read that as a plain function call, so I'm okay with > dropping the extra punctuation there. Committed that way. Thanks. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers