pgstat_report_activity() and parallel CREATE INDEX (was: Parallelindex creation & pg_stat_activity) - Mailing list pgsql-hackers

From Peter Geoghegan
Subject pgstat_report_activity() and parallel CREATE INDEX (was: Parallelindex creation & pg_stat_activity)
Date
Msg-id CAH2-WzkryAPcQOHBJKuDKfni-HGFny31yjcbM-yp5HO-71iCdw@mail.gmail.com
Whole thread Raw
Responses Re: pgstat_report_activity() and parallel CREATE INDEX (was: Parallelindex creation & pg_stat_activity)
List pgsql-hackers
On Wed, Feb 28, 2018 at 9:44 AM, Andres Freund <andres@anarazel.de> wrote:
> Looks like we're not doing a pgstat_report_activity() in the workers?
> Any argument for not doing so?

No. Just an oversight. Looks like _bt_parallel_build_main() should
call pgstat_report_activity(), just like ParallelQueryMain().

I'll come up with a patch soon.

-- 
Peter Geoghegan


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: 2018-03 Commitfest Summary (Andres #2)
Next
From: Alexander Korotkov
Date:
Subject: Re: Challenges preventing us moving to 64 bit transaction id (XID)?