Add macro for maximum statistics target

Peter Eisentraut <peter@eisentraut.org>

Commit: 7a7f60aef8bf86b1a94908e20edd107fa9da4f3d
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-07-03T05:18:57Z
Releases: 17.0
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

Files

Discussion