Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezmvE-0005kx-43 for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Mar 2018 17:25:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ezmvC-0003yC-Pe for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Mar 2018 17:25: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.89) (envelope-from ) id 1ezmvC-0003y3-FM for pgsql-hackers@lists.postgresql.org; Sat, 24 Mar 2018 17:25:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezmv9-00083s-Uo for pgsql-hackers@lists.postgresql.org; Sat, 24 Mar 2018 17:25:37 +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 w2OHPYL1028691 for ; Sat, 24 Mar 2018 13:25:34 -0400 From: Tom Lane To: pgsql-hackers@lists.postgresql.org Subject: Undesirable entries in typedefs list MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28689.1521912334.1@sss.pgh.pa.us> Date: Sat, 24 Mar 2018 13:25:34 -0400 Message-ID: <28690.1521912334@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I noticed that doing pgindent with the current typedefs list available from the buildfarm caused a lot of havoc in what had been stable code. Looking into the reasons, it seems that: (1) "bool" is no longer listed as a typedef name (probably because stdbool.h makes it a macro instead); (2) "abs", "boolean", "iterator", "other", "pointer", "reference", "string", and "type" all now are listed as typedef names. It's probably okay to treat "boolean" as a typedef, but all those others are complete disasters. Anyone know where they're coming from? As for "bool", we could probably deal with that most reliably by having pgindent add it as a special case. Maybe we could get it back in there by having some trailing-edge buildfarm member contribute typedefs, but that seems like a solution with a rather limited half-life. regards, tom lane