Import changes from IMath versions (1.3, 1.29].
Noah Misch <noah@leadboat.com>
Import changes from IMath versions (1.3, 1.29].
Upstream fixed bugs over the years, but none are confirmed to have
affected pgcrypto. We're better off naively tracking upstream than
reactively maintaining a twelve-year-old snapshot of upstream. Add a
header comment describing the synchronization procedure. Discard use of
INVERT_COMPARE_RESULT(); the domain of the comparisons in question is
{-1,0,1}, controlled entirely by code in imath.c.
Andrew Gierth reviewed the Makefile change. Tom Lane reviewed the
synchronization procedure description.
Discussion: https://postgr.es/m/20190203035704.GA6226@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/imath.c | modified | +1266 −1372 |
| contrib/pgcrypto/imath.h | modified | +364 −129 |
| contrib/pgcrypto/Makefile | modified | +3 −0 |
Discussion
- Synchronize with imath upstream 22 messages · 2019-02-03 → 2019-02-16