pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Clarify use of "statistics objects" in the code
2+ messages / 1 participants
[nested] [flat]

* pgsql: Clarify use of "statistics objects" in the code
@ 2021-09-29 06:30  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2021-09-29 06:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/070d2e19e40897d857f570f24888fc30727ed9c0

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Clarify use of "statistics objects" in the code
@ 2021-09-29 06:30  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2021-09-29 06:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-09-29 06:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 06:30 pgsql: Clarify use of "statistics objects" in the code Michael Paquier <michael@paquier.xyz>
2021-09-29 06:30 pgsql: Clarify use of "statistics objects" in the code Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox