Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drTmK-0004A1-Kc for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Sep 2017 18:49:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1drTmK-0008UP-7N for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Sep 2017 18:49:52 +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 1drTkm-0005jh-S7 for pgsql-hackers@postgresql.org; Mon, 11 Sep 2017 18:48:16 +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 1drTkj-0000in-Hs for pgsql-hackers@postgresql.org; Mon, 11 Sep 2017 18:48:16 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id C334420964; Mon, 11 Sep 2017 14:48:09 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 11 Sep 2017 14:48:09 -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=to1vH/BOYCjjYUZlDLKNVRzIK+8RssoYzWsqKhvEyW4=; b=VrQLQuhR maz+BloH5ycPuxYAsztlqEogpvud2ApIcs83g4eZrUf4O2fHc6Qr4EpP0dOAKnKq XdCT0wDR7Yy+N0CqVHEEMix1PaoWxvZp33O/OVPwmXpBn1uw/HixVNYcXO7KeJC9 azctok6GowVOd1EZAmaYpHgsUHfxbsB+1g+/yUHZw603e3QpZbi4zLSd9yctMkk+ 1RVUg0S1OQHXR+jEs5g5UR1PyNR1sWAT/BVWhisy0aQDq/dyoLpfSG4693k2Vrz2 pLKIJo1Ipk+anw0wpnyf0skLP9KhcZObs/mKLXB29JcPIDkZ2hZc9fA1yptYsTmz 5DfH9+c3w0fKpQ== X-ME-Sender: X-Sasl-enc: Plg0rpBjaVZccNlcHnOive0+LTKtTVrhJttGdwcU1bFx 1505155689 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 73EBC244BB; Mon, 11 Sep 2017 14:48:09 -0400 (EDT) Subject: Re: assorted code cleanup To: Tom Lane References: <2beab0ef-69f9-dab3-cacd-8fdf417bca96@2ndquadrant.com> <11524.1504639947@sss.pgh.pa.us> <98ba2e15-250b-8bce-fa4c-777e0d76cd4e@2ndquadrant.com> <4152.1504810380@sss.pgh.pa.us> Cc: Michael Paquier , pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 11 Sep 2017 14:48:09 -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: <4152.1504810380@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/7/17 14:53, Tom Lane wrote: > Peter Eisentraut writes: >> On 9/5/17 15:32, Tom Lane wrote: >>> 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. > > Is it worth memorializing this in the docs somewhere, perhaps > "53.4. Miscellaneous Coding Conventions" ? done -- 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