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
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
> 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
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