On Sun, Oct 28, 2018 at 10:12:48AM -0700, legrand legrand wrote:
> An other idea that may be called a "better wait event error handling"
> would have be to display:
> 
> "???-xx" unknown event type (xx being the associated number) 
> in pgstat_get_wait_event_type()
> 
> "unknown wait event - yy" unknown event name (yy being the associated
> number)
> in pgstat_get_wait_event()
> 
> giving an extended range of spare events ;o)

Those look like half-baked workarounds in my opinion.  What we may want
to finish with is the possibility to register a new event with a custom
string bundled so as an extension loaded via shared_preload_libraries
could call it.  That's not a small amount of work.
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to