pg_upgrade: Parallelize retrieving relation information.
authorNathan Bossart <[email protected]>
Mon, 16 Sep 2024 21:10:33 +0000 (16:10 -0500)
committerNathan Bossart <[email protected]>
Mon, 16 Sep 2024 21:10:33 +0000 (16:10 -0500)
commit6d3d2e8e541f07dafb6a42a105b3ca78b2a09437
tree179bbf31370fbe655d68c94bc39a7439de828c2a
parent40e2e5e92b7da358fb45802b53c735d25a51d23a
pg_upgrade: Parallelize retrieving relation information.

This commit makes use of the new task framework in pg_upgrade to
parallelize retrieving relation and logical slot information.  This
step will now process multiple databases concurrently when
pg_upgrade's --jobs option is provided a value greater than 1.

Reviewed-by: Daniel Gustafsson, Ilya Gladyshev
Discussion: https://postgr.es/m/20240516211638.GA1688936%40nathanxps13
src/bin/pg_upgrade/info.c