From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix union for pgstat message types
Date: Sat, 4 May 2019 17:48:02 +0200
Message-ID: <20190504154802.q4ezzpkbryw7cngq@development> (raw)
In-Reply-To: <E1hLmZg-000556-Uz@gemulon.postgresql.org>
References: <E1hLmZg-000556-Uz@gemulon.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@2ndquadrant.com, magnus@hagander.net
Subject: Re: pgsql: Fix union for pgstat message types
In-Reply-To: <20190504154802.q4ezzpkbryw7cngq@development>
References: <E1hLmZg-000556-Uz@gemulon.postgresql.org> <20190504154802.q4ezzpkbryw7cngq@development>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox