[PATCH] Add statement_timeout in pg_stat_activity - Mailing list pgsql-hackers

From Anthonin Bonnefoy
Subject [PATCH] Add statement_timeout in pg_stat_activity
Date
Msg-id CAD9KVnRZwcKwfTdTX1HrrJiwmUiWGHtvA30-cur2VXS1ZZB14A@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hello hackers.

This patch adds the backend's statement_timeout value to pg_stat_activity.

This would provide some insights on clients that are disabling a default statement timeout or overriding it through a pgbouncer, messing with other sessions.

pg_stat_activity seemed like the best place to have this information.

Regards,
Anthonin
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: possible proposal plpgsql GET DIAGNOSTICS oid = PG_ROUTINE_OID
Next
From: Robert Haas
Date:
Subject: Re: Why enable_hashjoin Completely disables HashJoin