Re: pgsql: Fix union for pgstat message types - Mailing list pgsql-committers

From Tomas Vondra
Subject Re: pgsql: Fix union for pgstat message types
Date
Msg-id 20190504154802.q4ezzpkbryw7cngq@development
Whole thread Raw
In response to pgsql: Fix union for pgstat message types  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pgsql: Fix union for pgstat message types
List pgsql-committers
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 



pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: pg_dump: Fix newline in error message
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix union for pgstat message types