Re: WIP: new system catalog pg_wait_event - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: new system catalog pg_wait_event
Date
Msg-id 3658241.1691161701@sss.pgh.pa.us
Whole thread Raw
In response to WIP: new system catalog pg_wait_event  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Responses Re: WIP: new system catalog pg_wait_event
List pgsql-hackers
"Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com> writes:
> Now that fa88928470 generates automatically code and documentation
> related to wait events, why not exposing the wait events description
> through a system catalog relation?

I think you'd be better off making this a view over a set-returning
function.  The nearby work to allow run-time extensibility of the
set of wait events is not going to be happy with a static catalog.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Drouvot, Bertrand"
Date:
Subject: "duplicated" wait events
Next
From: Andrew Dunstan
Date:
Subject: Release 17 of the PostgreSQL Buildfarm Client