Hi,
On 2018-07-03 15:13:20 -0400, Alvaro Herrera wrote:
> Are the numerical values actually exposed to the world? I thought the
> only way to this info was through the system views, which surely expose
> the names, not the numbers.
There's at least some work at high frequency sampling of these, and I
assume that's not going through SQL, but rather C functions.
> If reading wait events is actually possible, then it seems easy to
> backpatch this in pg10 by putting the new value at the end of the
> relevant enum, yeah.
Honestly, I don't really see an argument for backpatching this. If
people started measuring it might even invalidate their stats.
Greetings,
Andres Freund