Re: pgsql: Use new overflow aware integer operations.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Use new overflow aware integer operations. |
| Дата | |
| Msg-id | 4294.1513968774@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pgsql: Use new overflow aware integer operations. (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: pgsql: Use new overflow aware integer operations.
|
| Список | pgsql-committers |
Andres Freund <andres@anarazel.de> writes:
> On 2017-12-22 11:00:54 -0500, Tom Lane wrote:
>> I do not think it is reasonable for these functions to not set the
>> output variable at all in the overflow case; it is not their job
>> to opine on whether the caller may use the result.
> I don't agree. Please note that that the function's documentation
> explicitly says "The content of *result is implementation defined in
> case of overflow.".
I will not accept an implementation that spews compiler warnings
all over the place, which is what this one is doing. Please fix that,
or else I will.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера