Re: language cleanups in code and docs
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>, Andres Freund <andres@anarazel.de>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-06-17T15:00:19Z
Lists: pgsql-hackers
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> 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
Commits
-
Replace remaining uses of "whitelist".
- 034510c820cd 14.0 landed
-
pgindent: whitelist/blacklist -> additional/excluded.
- fe05b6b62006 14.0 landed
-
Rename "enum blacklist" to "uncommitted enums".
- c0d4f6d89749 14.0 landed
-
code: replace most remaining uses of 'master'.
- a9a4a7ad565b 14.0 landed
-
docs: replace 'master process' with 'supervisor process' where appropriate.
- 7c89f8a5b810 14.0 landed
-
docs: replace 'master' with 'root' where appropriate.
- 09dfd430118f 14.0 landed
-
docs: replace 'master' with 'primary' where appropriate.
- 9e101cf60612 14.0 landed
-
code: replace 'master' with 'leader' where appropriate.
- e07633646a22 14.0 landed
-
code: replace 'master' with 'primary' where appropriate.
- 5e7bbb528638 14.0 landed
-
tap tests: replace 'master' with 'primary'.
- 229f8c219f8f 14.0 landed