Re: Doc: clarify possibility of ephemeral discrepancies between state and wait_event in pg_stat_activity

Alex Friedman <alexf01@gmail.com>

From: Alex Friedman <alexf01@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-02-26T21:01:48Z
Lists: pgsql-hackers

Attachments

On 26/02/2025 22:00, Sami Imseih wrote:
> If we do need to document anything, which I am not convinced we should,
> it should be more generic.

Thanks for the feedback, I've attached a v2 patch which has wording that's a bit 
more generic.

It's also worth noting that pg_locks already has a full paragraph explaining 
inconsistencies, so in my opinion it's worth it at least mentioning something 
similar here for pg_stat_activity.


Best regards,

Alex Friedman

Commits

  1. doc: Mention possible ephemeral discrepancies in pg_stat_activity