Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlZYF-0002jf-DO for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2020 15:00:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jlZYE-0005oX-An for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2020 15:00:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlZYE-0005oN-3c for pgsql-hackers@lists.postgresql.org; Wed, 17 Jun 2020 15:00:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlZY7-0003T6-S8 for pgsql-hackers@postgresql.org; Wed, 17 Jun 2020 15:00:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 05HF0JKK1445282; Wed, 17 Jun 2020 11:00:19 -0400 From: Tom Lane To: Andrew Dunstan cc: Magnus Hagander , Andres Freund , PostgreSQL-development Subject: Re: language cleanups in code and docs In-reply-to: <0357f124-8017-1563-6dbf-04ed10d7c041@2ndQuadrant.com> References: <20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de> <0357f124-8017-1563-6dbf-04ed10d7c041@2ndQuadrant.com> Comments: In-reply-to Andrew Dunstan message dated "Wed, 17 Jun 2020 10:15:40 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1445280.1592406019.1@sss.pgh.pa.us> Date: Wed, 17 Jun 2020 11:00:19 -0400 Message-ID: <1445281.1592406019@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > On 6/17/20 6:32 AM, Magnus Hagander wrote: >> In looking at this I realize we also have exactly one thing referred >> to as "blacklist" in our codebase, which is the "enum blacklist" (and >> then a small internal variable in pgindent). AFAICT, it's not actually >> exposed to userspace anywhere, so we could probably make the attached >> change to blocklist at no "cost" (the only thing changed is the name >> of the hash table, and we definitely change things like that in normal >> releases with no specific thought on backwards compat). > I'm not sure I like doing s/Black/Block/ here. It reads oddly. There are > too many other uses of Block in the sources. Forbidden might be a better > substitution, or Banned maybe. BanList is even less characters than > BlackList. I think worrying about blacklist/whitelist is carrying things a bit far in the first place. regards, tom lane