pgsql: Remove unused parameter in lookup_var_attr_stats

2025-01-06 Thread Richard Guo
Remove unused parameter in lookup_var_attr_stats The parameter 'rel' in lookup_var_attr_stats was once used to draw an ERROR when ANALYZE failed to acquire sufficient data to build extended statistics. bf2a691e0 changed the logic to raise a WARNING in the caller instead. As a result, this parame

pgsql: Allow changing autovacuum_max_workers without restarting.

2025-01-06 Thread Nathan Bossart
Allow changing autovacuum_max_workers without restarting. This commit introduces a new parameter named autovacuum_worker_slots that controls how many autovacuum worker slots to reserve during server startup. Modifying this new parameter's value does require a server restart, but it should typical

pgsql: Remove duplicate definitions in proc.h

2025-01-06 Thread Heikki Linnakangas
Remove duplicate definitions in proc.h These are also present in procnumber.h Reported-by: Peter Eisentraut Discussion: https://www.postgresql.org/message-id/bd04d675-4672-4f87-800a-eb5d470c1...@eisentraut.org Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5e68f6

pgsql: Remove duplicate definitions in proc.h

2025-01-06 Thread Heikki Linnakangas
Remove duplicate definitions in proc.h These are also present in procnumber.h Reported-by: Peter Eisentraut Discussion: https://www.postgresql.org/message-id/bd04d675-4672-4f87-800a-eb5d470c1...@eisentraut.org Branch -- REL_17_STABLE Details --- https://git.postgresql.org/pg/commitdiff

pgsql: flex code modernization: Replace YY_EXTRA_TYPE define with flex

2025-01-06 Thread Peter Eisentraut
flex code modernization: Replace YY_EXTRA_TYPE define with flex option Replace #define YY_EXTRA_TYPE with %option extra-type. The latter is the way recommended by the flex manual (available since flex 2.5.34). Reviewed-by: Heikki Linnakangas Discussion: https://www.postgresql.org/message-id/fl

pgsql: doc: Clarify log level for VERBOSE messages in maintenance comma

2025-01-06 Thread Fujii Masao
doc: Clarify log level for VERBOSE messages in maintenance commands. VERBOSE messages from ANALYZE, CLUSTER, REINDEX, and VACUUM are logged at the INFO level, but this detail was missing from the documentation. This commit updates the docs to mention the log level for these messages. Author: Masa