Clarify use of "statistics objects" in the code

Michael Paquier <michael@paquier.xyz>

Commit: 2cf9cf5d7b5e66202389618a4c08945da352b35c
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-09-29T06:29:45Z
Releases: 14.1
Clarify use of "statistics objects" in the code

The code inconsistently used "statistic object" or "statistics" where
the correct term, as discussed, is actually "statistics object".  This
improves the state of the code to be more consistent.

While on it, fix an incorrect error message introduced in a4d75c8.  This
error should never happen, as the code states, but it would be
misleading.

Author: Justin Pryzby
Reviewed-by: Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/20210924215827.GS831@telsasoft.com
Backpatch-through: 14

Files

Discussion

  • typos 10 messages · 2021-09-24 → 2021-09-29