Skip to content

Support index builds on partitioned parents via the partition-aware concurrent flow #34

Description

@Kiran01bm

pg-sprite currently refuses any plan that builds an index on a partitioned parent (see docs/limitations.md): PostgreSQL cannot run CREATE INDEX CONCURRENTLY at the parent level, and pg-sprite refuses the blocking form by policy because it takes ACCESS EXCLUSIVE.

The safe flow exists and is planned: CREATE INDEX ON ONLY parent → per-partition CREATE INDEX CONCURRENTLYALTER INDEX ... ATTACH PARTITION, with crash-resume across the per-partition builds and a final validity check on the parent index. This issue tracks building that flow.

Until it lands, the engine refuses with typed causes parent-concurrent-index-build / parent-blocking-index-build rather than failing mid-change.

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