Skip to content

Constraint "pathman_table_1_14_check" does not exist #37

@igniting

Description

@igniting

I tried to create a range partition on a table (11G in size) by first calling create_range_partitions with partition_data set to false. It created 10 partitions and added pathman_table_number_11_check on them
Then I tried running partition_table_concurrently and got this error:

PG::InternalError: ERROR: constraint "pathman_table_1_14_check" for partition "table_1" does not exist
HINT: pg_pathman will be disabled to allow you to resolve this issue

Constraint id is being calculated incorrectly in this case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions