Re: bug: ANALYZE progress report with inheritance tables

2023-09-30 Thread Heikki Linnakangas
On 28/09/2023 19:06, Heikki Linnakangas wrote: On 22/01/2023 18:23, Justin Pryzby wrote: pg_stat_progress_analyze was added in v13 (a166d408e). For tables with inheritance children, do_analyze_rel() and acquire_sample_rows() are called twice. The first time through, pgstat_progress_start_comma

Re: bug: ANALYZE progress report with inheritance tables

2023-09-28 Thread Heikki Linnakangas
On 22/01/2023 18:23, Justin Pryzby wrote: pg_stat_progress_analyze was added in v13 (a166d408e). For tables with inheritance children, do_analyze_rel() and acquire_sample_rows() are called twice. The first time through, pgstat_progress_start_command() has memset() the progress array to zero. B

Re: bug: ANALYZE progress report with inheritance tables

2023-08-01 Thread Daniel Gustafsson
> On 22 Jan 2023, at 17:23, Justin Pryzby wrote: > diff --git a/src/backend/commands/analyze.c b/src/backend/commands/analyze.c > index c86e690980e..96710b84558 100644 > ... This CF entry fails to build in the CFBot since the patch isn't attached to the email, and the CFBot can't extract inline

bug: ANALYZE progress report with inheritance tables

2023-01-22 Thread Justin Pryzby
pg_stat_progress_analyze was added in v13 (a166d408e). For tables with inheritance children, do_analyze_rel() and acquire_sample_rows() are called twice. The first time through, pgstat_progress_start_command() has memset() the progress array to zero. But the 2nd time, ANALYZE_BLOCKS_DONE is alre