From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: fixing more format truncation issues |
Date: | 2018-03-16 03:51:04 |
Message-ID: | 20180316035104.GG2666@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Mar 15, 2018 at 12:12:18PM -0400, Tom Lane wrote:
> FWIW, I noticed while fooling with pre-release Fedora 28 that gcc 8.0.1
> emits a whole boatload of these warnings by default. This patch doesn't
> seem to have moved the needle very much, either. In a quick look, it
> seemed like a lot of them were things we simply wouldn't be interested
> in fixing ("yeah, the path length limit is MAXPGPATH, tough"). So
> I'm thinking we're going to be needing -Wno-format-truncation soon.
Maybe it is worth a try on Debian as well. The base packages use GCC 7
but I can see that 8 is also available.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Kyotaro HORIGUCHI | 2018-03-16 04:03:14 | Re: PQHost() undefined behavior if connecting string contains both host and hostaddr types |
Previous Message | Chapman Flack | 2018-03-16 03:20:56 | Re: Re: pgbench randomness initialization |