pgsql: pg_upgrade: Parallelize data type checks.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: Parallelize data type checks.
Date: 2024-09-16 21:11:02
Message-ID: E1sqIzu-001Pfw-Fe@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: Parallelize data type checks.

This commit makes use of the new task framework in pg_upgrade to
parallelize the checks for incompatible data types, i.e., data
types whose on-disk format has changed, data types that have been
removed, etc. 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/bbf83cab98f2c018d6d394decaa9b03212f96983

Modified Files
--------------
src/bin/pg_upgrade/check.c | 351 ++++++++++++++++++++++++---------------------
1 file changed, 191 insertions(+), 160 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2024-09-16 21:34:03 pgsql: Fix redefinition of typedef.
Previous Message Bruce Momjian 2024-09-16 18:24:05 pgsql: doc PG relnotes: fix SGML markup for new commit links