Re: language cleanups in code and docs
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker )
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>,
Andres Freund <andres@anarazel.de>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-01-05T00:44:13Z
Lists: pgsql-hackers
Attachments
- 0001-Replace-remaining-uses-of-whitelist.patch (text/x-diff)
Thomas Munro <thomas.munro@gmail.com> writes: > On Tue, Jan 5, 2021 at 1:12 PM Dagfinn Ilmari Mannsåker > <ilmari@ilmari.org> wrote: >> Magnus Hagander <magnus@hagander.net> writes: >> > 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). >> >> Here's a patch that renames the @whitelist and %blacklist variables in >> pgindent to @additional and %excluded, and adjusts the comments to >> match. > > Pushed. Thanks! Thanks! Just after sending that, I thought to grep for "white\W*list" as well, and found a few more occurrences that were trivially reworded, per the attached patch. - ilmari -- "A disappointingly low fraction of the human race is, at any given time, on fire." - Stig Sandbeck Mathisen
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