pg_upgrade: Parallelize contrib/isn check.
authorNathan Bossart <nathan@postgresql.org>
Mon, 16 Sep 2024 21:10:33 +0000 (16:10 -0500)
committerNathan Bossart <nathan@postgresql.org>
Mon, 16 Sep 2024 21:10:33 +0000 (16:10 -0500)
commit9db3018cf83b4be1dbcdca8274e97ea8645df49c
treec8a1162a9980aa8772fab5815983c6e7d3c5eb6a
parentbbf83cab98f2c018d6d394decaa9b03212f96983
pg_upgrade: Parallelize contrib/isn check.

This commit makes use of the new task framework in pg_upgrade to
parallelize the check for contrib/isn functions that rely on the
bigint data type.  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/check.c