From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add macro for maximum statistics target |
Date: | 2023-07-03 05:25:38 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add macro for maximum statistics target
The number of places where 10000 was hardcoded had grown a bit beyond
the comfort level. Introduce a macro MAX_STATISTICS_TARGET instead.
Reviewed-by: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/d6069765-5971-04d3-c10d-e4f7b2e9c459%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7a7f60aef8bf86b1a94908e20edd107fa9da4f3d
Modified Files
--------------
src/backend/commands/statscmds.c | 4 ++--
src/backend/commands/tablecmds.c | 5 +++--
src/backend/statistics/extended_stats.c | 2 +-
src/backend/utils/misc/guc_tables.c | 2 +-
src/include/catalog/pg_attribute.h | 2 +-
src/include/commands/vacuum.h | 7 +++++++
src/include/statistics/statistics.h | 4 ++--
7 files changed, 17 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2023-07-03 08:36:21 | pgsql: cirrus/freebsd: define ENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS |
Previous Message | Michael Paquier | 2023-07-03 04:22:08 | pgsql: Remove support for OpenSSL 1.0.1 |