pgsql: Clarify use of "statistics objects" in the code

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Clarify use of "statistics objects" in the code
Дата
Msg-id E1mVT6s-0003s0-OF@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2cf9cf5d7b5e66202389618a4c08945da352b35c

Modified Files
--------------
src/backend/commands/statscmds.c        | 28 ++++++++++++++--------------
src/backend/commands/tablecmds.c        |  8 ++++----
src/backend/parser/parse_utilcmd.c      |  6 +++---
src/backend/statistics/extended_stats.c | 18 +++++++++---------
src/backend/utils/adt/selfuncs.c        | 28 ++++++++++++++--------------
5 files changed, 44 insertions(+), 44 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix incorrect format placeholder
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: pgbench: Correct log level of message output when socket wait me