Skip to content

pgqs_collectNodeStats is not updating ancestors #10

@tvondra

Description

@tvondra

pgqs_collectNodeStats fails to update ancestors before processing sub-plans. It needs to do

ancestors = lcons(planstate, ancestors);

before processing initPlans, and removing the planstate at the end. See how ExplainNode in explain.c (around line 1593) does that, depending on haschildren variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions