Skip to content

Migrating existing partitions to pg_pathman  #25

@vmihailenco

Description

@vmihailenco

Assuming that I already use table inheritance to partition my table what I need to do to migrate to pg_pathman? My experiments show that I only need to execute

select create_partitions_from_range('notices', 'id', 0::bigint, -1::bigint, 22468047667200000);

to start using pg_pathman. Is that correct?

Please note that I had to use start_value=0 and end_value=-1 to prevent pg_statsman from creating any partitions... It is totally fine, but probably should be documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions