Optimal way for attaching partitions in postgres

Colocation problem in reactor-pool