Skip to content

Commit

Permalink
FDN-2460: Patch partman5.run_maintenance to avoid table scans (#29)
Browse files Browse the repository at this point in the history
The real diff this introduces is https://github.com/pgpartman/pg_partman/pull/662/files.

Avoiding table scans helps making `run_maintenance` fast, which is important because it takes an exclusive lock which prevents other uses of the table that it's processing. (The exclusive lock is acquired when dropping partitions to enforce the retention policy.)

More background in [FDN-2442].
  • Loading branch information
nicolagi authored Jun 6, 2024
1 parent acfaf04 commit 6a9c429
Showing 1 changed file with 450 additions and 0 deletions.
Loading

0 comments on commit 6a9c429

Please sign in to comment.