Hi Michael,

> One approach that may be saner is to store a trace of the PID in
> PgStat_Backend when a new backend connects, then compare it back with
> the existing PGPROC entry, then decide what to show based on the state
> of both.

Thanks for pointing that out.  Applied.

0001 is unchanged.
Thanks,
Shihao

Attachment: v6-0001-Make-per-backend-statistics-functions-respect-sta.patch
Description: Binary data

Attachment: v6-0002-Store-the-PID-of-a-backend-in-its-statistics-entr.patch
Description: Binary data

Reply via email to