pg_upgrade: Parallelize incompatible polymorphics check.

This commit makes use of the new task framework in pg_upgrade to
parallelize the check for usage of incompatible polymorphic
functions, i.e., those with arguments of type anyarray/anyelement
rather than the newer anycompatible variants.  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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cf2f82a37cc35895b67c83dd2b33d2fcf4688a55

Modified Files
--------------
src/bin/pg_upgrade/check.c | 159 +++++++++++++++++++++++----------------------
1 file changed, 83 insertions(+), 76 deletions(-)

Reply via email to