Re: [HACKERS] GCC 7 warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] GCC 7 warnings
Date
Msg-id 19105.1493871698@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] GCC 7 warnings  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [HACKERS] GCC 7 warnings
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 4/10/17 11:03, Peter Eisentraut wrote:
>> The release of GCC 7 is approaching [0], and the number of warnings in
>> PostgreSQL has gone up since we last looked [1].  Output attached.  (My
>> version is 7.0.1 20170408.)

> GCC 7 has been released.

> Should we backpatch these warning fixes?  The commit in question is
> 6275f5d28a1577563f53f2171689d4f890a46881.  (I haven't actually checked
> whether backpatches well.)

Seems like that patch represents generally better coding practice,
and applying it would reduce cross-branch differences that would be
hazards for future patches, so I'm mostly +1 for this.

But I'd suggest waiting till after next week's releases.  If there
are any problems induced by this, we'd be more likely to find them
with another three months' time before it hits the wild.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] pg_dump emits ALTER TABLE ONLY partitioned_table
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] PROVE_FLAGS