pg_upgrade: Parallelize WITH OIDS check.

Nathan Bossart <nathan@postgresql.org>

Commit: f93f5f7b984edd85f3f515cd454a6160e574b2d0
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2024-09-16T21:10:33Z
Releases: 18.0
pg_upgrade: Parallelize WITH OIDS check.

This commit makes use of the new task framework in pg_upgrade to
parallelize the check for tables declared WITH OIDS.  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

Files

PathChange+/−
src/bin/pg_upgrade/check.c modified +52 −48

Discussion