git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3ee2f25) | patch
Add macro for maximum statistics target
Mon, 3 Jul 2023 05:09:22 +0000 (07:09 +0200)
Mon, 3 Jul 2023 05:18:57 +0000 (07:18 +0200)
commit 7a7f60aef8bf86b1a94908e20edd107fa9da4f3d
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.vondra@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/d6069765-5971-04d3-c10d-e4f7b2e9c459%40eisentraut.org
src/backend/commands/statscmds.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/statistics/extended_stats.c diff | blob | blame | history
src/backend/utils/misc/guc_tables.c diff | blob | blame | history
src/include/catalog/pg_attribute.h diff | blob | blame | history
src/include/commands/vacuum.h diff | blob | blame | history
src/include/statistics/statistics.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /