Hi,

> That said, I checked track_wal_io_timing and it reports the
> accumulated timing even after the GUC is turned off, see
> pgstat_count_io_op_time(). IIUC, what matters there is whether timing
> was on when the start time was captured, not what it is at reporting
> time. Looking at that, I would prefer reporting the remaining
> accumulated time here too to make it complete.

Fair enough.

I guess this also fits better with the existing comment.

```
/* Report any remaining cost-based vacuum delay time */
```

> Also, +1 to rename track_delay_timing to GUC name.

Done.

v2 attached.

--
Sami

Attachment: v2-0001-Propagate-track_cost_delay_timing-to-parallel-aut.patch
Description: Binary data

Reply via email to