Re: Fix typos and inconsistencies for v16
Tom Lane <tgl@sss.pgh.pa.us>
Justin Pryzby <pryzby@telsasoft.com> writes: > On Tue, Apr 18, 2023 at 02:06:43PM +1200, David Rowley wrote: >> On Tue, 18 Apr 2023 at 10:10, Justin Pryzby <pryzby@telsasoft.com> wrote: >>> and s/evade/avoid/ >> I didn't touch this. You'll need to provide more justification for why >> you think it's more correct than what's there. > I'd noticed that it's a substitution/mistake that's been made in the > past. "Evade" doesn't seem like le mot juste there; it's got negative connotations. But the code around it is just horrible. Some offenses: * No documentation in the function header comment of what the usersetArray parameter is or does. Which is bad enough in itself, but what the parameter actually does is falsify the header comment's principal claim that the passed context is what is used. So I don't find that omission acceptable. * Non-obvious, and quite unnecessary, dependency on the isnull variable having been left in a particular state by previous code. * For me, at least, it'd read better if the if/else arms were swapped, allowing removal of the negation in the if-condition and bringing the code this comment comments on closer to said comment. As for the comment text, maybe say * If the value was USER SET, then apply it at PGC_USERSET context * rather than the caller-supplied context, to prevent any more-restricted * GUCs being set. Also pass InvalidOid for the role, to ensure any * special privileges of the current user aren't applied. I hesitate to go look at the rest of this commit, but I guess somebody had better. regards, tom lane
Commits
-
Fix typo with wait event for SLRU buffer of commit timestamps
- cedcc4191847 13.11 landed
- ae4ffa7227f6 14.8 landed
- d31dab9a541c 15.3 landed
- 58f5edf84990 16.0 landed
-
Fix typos in comments
- 8961cb9a0315 16.0 landed
-
doc: Fix typo in pg_amcheck for term "schema"
- 43beaa2fb16b 14.8 landed
- 77ea05406cb6 15.3 landed
- 6fd8ae688884 16.0 landed
-
Remove unused global variable
- 84e05beb1113 16.0 landed
-
Fix incorrect function name reference
- d91d1635292a 16.0 landed
-
Fix various typos and incorrect/outdated name references
- 3f58a4e2960a 16.0 landed
-
Fix some typos and some incorrectly duplicated words
- eef231e8161e 16.0 landed
-
Fix various typos
- b4dbf3e924b2 16.0 landed
-
Improve GIN cost estimation
- cd9479af2af2 16.0 cited
-
Refactor LogicalTapeSet/LogicalTape interface.
- c4649cce39a4 15.0 cited
-
Refactor sharedfileset.c to separate out fileset implementation.
- dcac5e7ac157 15.0 cited
-
Multirange datatypes
- 6df7a9698bb0 14.0 cited
-
Copy editing: fix a bunch of misspellings and poor wording.
- 9436041ed848 14.0 cited
-
Implement operator class parameters
- 911e70207703 13.0 cited
-
Various improvements of skipping index scan during vacuum technics
- 8e12f4a250d2 11.0 cited