Re: Define STATS_MIN_ROWS for minimum rows of stats in ANALYZE

2025-01-03 Thread Ilia Evdokimov
On 10.12.2024 16:32, Ilia Evdokimov wrote: On 09.12.2024 16:10, Ilia Evdokimov wrote: Hi hackers, The repeated use of the number 300 in the ANALYZE-related code creates redundancy and relies on scattered, sometimes unclear, comments to explain its purpose. This can make the code harder to

Re: Define STATS_MIN_ROWS for minimum rows of stats in ANALYZE

2024-12-10 Thread Ilia Evdokimov
On 09.12.2024 16:10, Ilia Evdokimov wrote: Hi hackers, The repeated use of the number 300 in the ANALYZE-related code creates redundancy and relies on scattered, sometimes unclear, comments to explain its purpose. This can make the code harder to understand, especially for new contributors w

Define STATS_MIN_ROWS for minimum rows of stats in ANALYZE

2024-12-09 Thread Ilia Evdokimov
Sep 17 00:00:00 2001 From: Ilia Evdokimov Date: Mon, 9 Dec 2024 15:50:40 +0300 Subject: [PATCH v1] Define STATS_MIN_ROWS for minimum rows of stats in ANALYZE This introduces a macro STATS_MIN_ROWS to represent the default minimum number of rows (300) sampled in ANALYZE. --- src/backend/commands