Re: pgsql: pg_upgrade: Parallelize retrieving relation information.

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Nathan Bossart <nathan(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: pg_upgrade: Parallelize retrieving relation information.
Date: 2024-09-17 19:59:49
Message-ID: CAPpHfdtY+iAsq_9=gYtMb5Hco6n66bP07HZfzDHX6tYiYUfKiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Tue, Sep 17, 2024 at 12:11 AM Nathan Bossart <nathan(at)postgresql(dot)org> wrote:
> pg_upgrade: Parallelize retrieving relation information.
>
> This commit makes use of the new task framework in pg_upgrade to
> parallelize retrieving relation and logical slot information. 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

#include "access/transam.h"
#include "catalog/pg_class_d.h"
+#include "pqexpbuffer.h"
#include "pg_upgrade.h"

I think the alphabetic order of includes needs fixing.

------
Regards,
Alexander Korotkov
Supabase

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-09-17 23:35:45 pgsql: Allow ReadStream to be consumed as raw block numbers.
Previous Message Alexander Korotkov 2024-09-17 19:57:43 Re: pgsql: Introduce framework for parallelizing various pg_upgrade tasks.