From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix union for pgstat message types
Date: Sat, 4 May 2019 22:04:37 +0200
Message-ID: <20190504200437.zqo3vna4lez44b6p@development> (raw)
In-Reply-To: <CABUevEwG_xigTB+7=EzM5o8EexxQ5_H-e5V9JFzD+aQ76NTsdA@mail.gmail.com>
References: <E1hLmZg-000556-Uz@gemulon.postgresql.org>
<20190504154802.q4ezzpkbryw7cngq@development>
<6102.1556985252@sss.pgh.pa.us>
<CABUevEwG_xigTB+7=EzM5o8EexxQ5_H-e5V9JFzD+aQ76NTsdA@mail.gmail.com>
On Sat, May 04, 2019 at 07:08:10PM +0200, Magnus Hagander wrote:
> On Sat, May 4, 2019 at 5:54 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> > On Wed, May 01, 2019 at 10:34:52AM +0000, Magnus Hagander wrote:
> >> Fix union for pgstat message types
>
> > Should the tempfile bit be backported? That message was added in 9.2.
>
> It's just cosmetic I think. The main point of having everything in
> the union is to make sure the union's size/alignment are sufficient,
> but the tempfile message isn't anywhere near creating an issue there.
>
> That was my thought as well. It's really only needed when we add new
> things, to make sure we don't make those mistakes again. And nobody should
> be adding new pgstat messages in old branches.
Fine with me, I don't think the backbranches are broken. OTOH it's a
minor change that would make the code more similar.
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, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix union for pgstat message types
In-Reply-To: <20190504200437.zqo3vna4lez44b6p@development>
References: <E1hLmZg-000556-Uz@gemulon.postgresql.org> <20190504154802.q4ezzpkbryw7cngq@development> <6102.1556985252@sss.pgh.pa.us> <CABUevEwG_xigTB+7=EzM5o8EexxQ5_H-e5V9JFzD+aQ76NTsdA@mail.gmail.com> <20190504200437.zqo3vna4lez44b6p@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