When is int32 not an int32? - Mailing list pgsql-hackers

From David E. Wheeler
Subject When is int32 not an int32?
Date
Msg-id FD163B2E-BC83-41D5-B035-09D1AD9DEFB1@justatheory.com
Whole thread Raw
Responses Re: When is int32 not an int32?
Re: When is int32 not an int32?
List 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


Attachment

pgsql-hackers by date:

Previous
From: Jean-Christophe Arnu
Date:
Subject: Re: Empty string in lexeme for tsvector
Next
From: Thomas Munro
Date:
Subject: Re: Spelling change in LLVM 14 API