Clarify use of "statistics objects" in the code

Michael Paquier <michael@paquier.xyz>

Commit: 070d2e19e40897d857f570f24888fc30727ed9c0
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-09-29T06:29:38Z
Releases: 15.0
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