Re: language cleanups in code and docs
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-01-04T23:42:10Z
Lists: pgsql-hackers
On Wed, Nov 4, 2020 at 4:10 AM Magnus Hagander <magnus@hagander.net> wrote: > On Wed, Oct 21, 2020 at 11:23 PM Thomas Munro <thomas.munro@gmail.com> wrote: > > Hmm, can we find a more descriptive name for this mechanism? What > > about calling it the "uncommitted enum table"? See attached. > > Thanks for picking this one up again! > > Agreed, that's a much better choice. > > The term itself is a bit of a mouthful, but it does describe what it > is in a much more clear way than what the old term did anyway. > > Maybe consider just calling it "uncomitted enums", which would as a > bonus have it not end up talking about uncommittedenumtablespace which > gets hits on searches for tablespace.. Though I'm not sure that's > important. > > I'm +1 to the change with or without that adjustment. Cool. I went with your suggestion. > As for the code, I note that: > + /* Set up the enum table if not already done in this transaction */ > > forgets to say it's *uncomitted* enum table -- which is the important > part of I believe. Fixed. > And > + * Test if the given enum value is in the table of blocked enums. > > should probably talk about uncommitted rather than blocked? Fixed. And pushed.
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