Re: [HACKERS] new gcc 7.0.1 warnings

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [HACKERS] new gcc 7.0.1 warnings
Дата
Msg-id CAFj8pRBX1N=vARSU+BZEGNwYdTv3mJbYCQk3xsVhakiNiW3H1w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] new gcc 7.0.1 warnings  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers


2017-03-08 17:33 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:
Pavel Stehule wrote:
> 2017-02-18 18:35 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:
>
> > Pavel Stehule <pavel.stehule@gmail.com> writes:

> > Do the warnings go away if you add some explicit guard to the precision
> > variable, say like this:
> >
> >             {
> >                 int            ndig = DBL_DIG + extra_float_digits;
> >
> >                 if (ndig < 1)
> >                     ndig = 1;
> > +               if (ndig > 50)
> > +                   ndig = 50;
>
> This fix doesn't help

Ahh, so this is why you had this change in the xmltable patch once!
Heh.  Please be more careful.

grr :(

I am sorry

Pavel
 

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] patch: function xmltable
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [HACKERS] Cannot shutdown subscriber after DROP SUBSCRIPTION