On Wed, May 01, 2019 at 10:34:52AM +0000, Magnus Hagander wrote:
>Fix union for pgstat message types
>
>The message type for temp files and for checksum failures were missing
>from the union. Due to the coding style used there was no compiler error
>when this happend. So change the code to actively use the union thereby
>producing a compiler error if the same mistake happens again, suggested
>by Tom Lane.
>
Should the tempfile bit be backported? That message was added in 9.2.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services