| От | Tom Lane |
|---|---|
| Тема | Re: When is int32 not an int32? |
| Дата | |
| Msg-id | 2669306.1632695464@sss.pgh.pa.us обсуждение |
| Ответ на | When is int32 not an int32? ("David E. Wheeler" <david@justatheory.com>) |
| Ответы |
Re: When is int32 not an int32?
|
| Список | pgsql-hackers |
"David E. Wheeler" <david@justatheory.com> writes:
> It claims that a test unexpected passes. That is, Test #31 is expected to fail, because it intentionally tests a
versionin which its parts overflow the int32[3] they’re stored in, with the expectation that one day we can refactor
thetype to handle larger version parts.
> I can’t imagine there would be any circumstance under which int32 would somehow be larger than a signed 32-bit
integer,but perhaps there is?
I'd bet more along the lines of "your overflow check is less portable than
you thought".
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера