Re: Allow progress tracking of sub-commands

From: Antonin Houska <ah(at)cybertec(dot)at>
To: Manu <manuelreyesbravo(at)gmail(dot)com>
Cc: Alberto Piai <alberto(dot)piai(at)gmail(dot)com>, Rahila Syed <rahilasyed90(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, alvherre(at)kurilemu(dot)de, pgsql-hackers(at)lists(dot)postgresql(dot)org, bharath(dot)rupireddyforpostgres(at)gmail(dot)com, mihailnikalayeu(at)gmail(dot)com, adam8157(at)gmail(dot)com
Subject: Re: Allow progress tracking of sub-commands
Date: 2026-11-27 10:53:10
Message-ID: 86252.1795776790@chrudos
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Antonin Houska <ah(at)cybertec(dot)at> wrote:

> Manu <manuelreyesbravo(at)gmail(dot)com> wrote:
>
> The problem is that only the COPY FROM is executed by file_fdw, so file_fdw
> alone cannot guard against this case. v06 introduces a concept of a "dummy
> command" - see the is_dummy field in PgBackendProgress.

Sorry for the confusion. I mean both COPYs are FROM. The problem is that only
one of them is executed by file_fdw, which is not aware of the COPY FROM
executed directly.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Dave Sharpe 2026-11-27 10:51:20 [PATCH] doc: corrections for commands that are not MVCC-safe (REPACK CONCURRENTLY, pg_dump, REFRESH MATERIALIZED VIEW)