pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade: Parallelize retrieving loadable libraries.
Date: Mon, 16 Sep 2024 21:11:02 +0000
Message-ID: <E1sqIzu-001Pfr-EU@gemulon.postgresql.org> (raw)

pg_upgrade: Parallelize retrieving loadable libraries.

This commit makes use of the new task framework in pg_upgrade to
parallelize retrieving the names of all libraries referenced by
non-built-in C functions.  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/46cad8b31927410a99894279ca9af4e0d5c185b6

Modified Files
--------------
src/bin/pg_upgrade/function.c | 71 +++++++++++++++++++++++++++----------------
1 file changed, 45 insertions(+), 26 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1sqIzu-001Pfr-EU@gemulon.postgresql.org>
Permalink:  ../E1sqIzu-001Pfr-EU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sqIzu-001Pfr-EU@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_upgrade: Parallelize retrieving loadable libraries.
  In-Reply-To: <E1sqIzu-001Pfr-EU@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox