Re: BUG #14986: -2147483648 is minimum value of integer but -2147483648::integer fails (out of range).

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #14986: -2147483648 is minimum value of integer but -2147483648::integer fails (out of range).
Дата
Msg-id CC7D554D-9648-43D2-9391-5564A696304E@anarazel.de
обсуждение исходный текст
Ответ на Re: BUG #14986: -2147483648 is minimum value of integer but-2147483648::integer fails (out of range).  (Greg Stark <stark@mit.edu>)
Ответы Re: BUG #14986: -2147483648 is minimum value of integer but-2147483648::integer fails (out of range).  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-bugs

On December 21, 2017 10:18:05 PM GMT+01:00, Greg Stark <stark@mit.edu> wrote:
>On 21 December 2017 at 14:13, Andres Freund <andres@anarazel.de> wrote:
>> Hi,
>>
>> On 2017-12-21 14:05:07 +0000, Greg Stark wrote:
>>> I wonder why the "out of range" error doesn't print the actual value
>>> it's trying to cast. That would help the user here...
>>
>> We'd have to mark it as non-leakproof in that case.
>
>Damn that's annoying.
>
>But..... uh, isn't it already leaking that the value is not in
>99.99999998% of
>the bigint range?

Most of the relevant operations have more than one operand, or are aggregates. Especially for actually relevant data
ranges.But yes, this is a way to analyze data, we knew that when adding RLS. 

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #14991: postgis-2.4.so: undefined symbol: GEOSMinimumClearance
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: BUG #14986: -2147483648 is minimum value of integer but-2147483648::integer fails (out of range).