Re: pgsql: Use new overflow aware integer operations.

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: pgsql: Use new overflow aware integer operations.
Дата
Msg-id
15638.1518647798@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
pgsql: Use new overflow aware integer operations. Andres Freund <andres@anarazel.de>
Re: pgsql: Use new overflow aware integer operations. Tom Lane <tgl@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. Tom Lane <tgl@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. Tom Lane <tgl@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. Andres Freund <andres@anarazel.de>
Re: pgsql: Use new overflow aware integer operations. Tom Lane <tgl@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. Thomas Munro <thomas.munro@enterprisedb.com>
Re: pgsql: Use new overflow aware integer operations. Andres Freund <andres@anarazel.de>
Re: pgsql: Use new overflow aware integer operations. Thomas Munro <thomas.munro@enterprisedb.com>
Re: pgsql: Use new overflow aware integer operations. David Rowley <david.rowley@2ndquadrant.com>
Re: pgsql: Use new overflow aware integer operations. Tom Lane <tgl@sss.pgh.pa.us>
Andres Freund  writes:
>> Yea, that works for me. I wonder if we should choose an absurd sentinel
>> value to prevent code from relying on one? 0x0000beef or such. Unless
>> somebody protests soon-ish I'll make it so.

> Pushed that way (with 0x5EED as the value, seems more appropriate ;)).

LGTM, thanks!

> I can't convince any of my compilers to actual emit warnings in this
> case, so we'll have to see whether prairiedog like this...

Per my results yesterday, locust and coypu were also complaining;
one of them might come back quicker.

			regards, tom lane

В списке pgsql-committers по дате отправления
От: Andres Freund
Дата:
От: Tom Lane
Дата:
FAQ