Skip to content

Allow analyze to be optional in reapply constraints. Fix bug with dryrun (WAS: lock wait issues with reapply_constraints in Partman 5) #814

@jw1u1

Description

@jw1u1

Hi,
after upgrading Partman 4.7 to 5.2 we face lock wait issues with reapply_constraints.
relation/AccessShare on the parent are waiting

`
LOG: duration: 324476.907 ms statement: call partman.reapply_constraints_proc('parent_table', false, true,0, true);

`
in dry-run, most time is spent with analysing the partitions.
seems like exclusive locks are kept during the final analyze.
No futher details so far.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions