Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YauSD-0003J6-S9 for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2015 23:11:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YauSD-0003oz-0P for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2015 23:11:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YauSB-0003mi-C6 for pgsql-hackers@postgreSQL.org; Wed, 25 Mar 2015 23:11:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YauS8-0002IQ-3x for pgsql-hackers@postgreSQL.org; Wed, 25 Mar 2015 23:11:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t2PNB69a014248; Wed, 25 Mar 2015 19:11:07 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgreSQL.org Subject: Re: [COMMITTERS] pgsql: Add macros wrapping all usage of gcc's __attribute__. In-reply-to: References: Comments: In-reply-to Andres Freund message dated "Wed, 11 Mar 2015 13:49:35 -0000" Date: Wed, 25 Mar 2015 19:11:06 -0400 Message-ID: <14247.1427325066@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Andres Freund writes: > Add macros wrapping all usage of gcc's __attribute__. I noticed that this commit attached pg_attribute_noreturn not only to the extern declarations, but to some actual function definitions. I think this is a bad idea, because it's going to look like heck after pgindent gets through with it. Do we actually need decoration on the function definitions? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers