When is int32 not an int32?

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема When is int32 not an int32?
Дата
Msg-id FD163B2E-BC83-41D5-B035-09D1AD9DEFB1@justatheory.com
обсуждение исходный текст
Ответы Re: When is int32 not an int32?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: When is int32 not an int32?  (David Fetter <david@fetter.org>)
Список pgsql-hackers
Hell Hackers, long time no email!

I got a bug report for the semver extension:

  https://github.com/theory/pg-semver/issues/58

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,
butperhaps there is? 

Scroll to the bottom of these pages to see the unexpected passes on i386 and armhf:

  https://ci.debian.net/data/autopkgtest/unstable/i386/p/postgresql-semver/15208658/log.gz
  https://ci.debian.net/data/autopkgtest/unstable/armhf/p/postgresql-semver/15208657/log.gz

Here’s the Postgres build output for those two platforms, as well, though nothing jumps out at me:

  https://buildd.debian.org/status/fetch.php?pkg=postgresql-13&arch=i386&ver=13.4-3&stamp=1630408269&raw=0
  https://buildd.debian.org/status/fetch.php?pkg=postgresql-13&arch=armhf&ver=13.4-3&stamp=1630412028&raw=0


Thanks,

David


Вложения

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

Предыдущее
От: Jean-Christophe Arnu
Дата:
Сообщение: Re: Empty string in lexeme for tsvector
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Spelling change in LLVM 14 API