Skip to content

Fix: Init missing PlannedStmt fields in orca#1699

Open
yjhjstz wants to merge 1 commit intoapache:mainfrom
yjhjstz:fix_init_orca
Open

Fix: Init missing PlannedStmt fields in orca#1699
yjhjstz wants to merge 1 commit intoapache:mainfrom
yjhjstz:fix_init_orca

Conversation

@yjhjstz
Copy link
Copy Markdown
Member

@yjhjstz yjhjstz commented Apr 24, 2026

Those fields are missed by orca which are needed by the pg_stat_statements to identify the query. Without initialization of those fields, pg_stat_statements won't track those queries.

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


Those fields are missed by orca which are needed by the
pg_stat_statements to identify the query. Without initialization of
those fields, pg_stat_statements won't track those queries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants