Re: complier warnings from ecpg tests

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: complier warnings from ecpg tests
Дата
Msg-id 20190802005550.GA1717@paquier.xyz
обсуждение исходный текст
Ответ на Re: complier warnings from ecpg tests  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: complier warnings from ecpg tests  (Sergei Kornilov <sk@zsrv.org>)
Список pgsql-hackers
On Thu, Aug 01, 2019 at 03:14:06PM +0900, Michael Paquier wrote:
> Thanks for the set of flags.  So this comes from the use of -Og, and
> the rest of the tree does not complain.  The issue is that gcc
> complains about the buffer not being large enough, but %d only uses up
> to 2 characters so there is no overflow.  In order to fix the issue it
> is fine enough to increase the buffer size to 28 bytes, so I would
> recommend to just do that.  This is similar to the business done in
> 3a4b891.

And fixed with a9f301d.
--
Michael

Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Commitfest 2019-07, the first of five* for PostgreSQL 13
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Commitfest 2019-07, the first of five* for PostgreSQL 13