You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commit 6d7dc5350042697bbb141a7362649db7fa67bd55
Author: Andres Freund andres@anarazel.de
Date: Wed Feb 14 14:17:28 2018 -0800
Return implementation defined value if pg_$op_s$bit_overflow overflows.
Some older compilers otherwise sometimes complain about undefined
values, even though the return value should not be used in the
overflow case. We assume that any decent compiler will optimize away
the unnecessary assignment in performance critical cases.
We do not want to restrain the returned value to a specific value,
e.g. 0 or the wrapped-around value, because some fast ways to
implement overflow detecting math do not easily allow for
that (e.g. msvc intrinsics). As the function documentation already
documents the returned value in case of intrinsics to be
implementation defined, no documentation has to be updated.
Per complaint from Tom Lane and his buildfarm member prairiedog.
Author: Andres Freund
Discussion: https://postgr.es/m/18169.1513958454@sss.pgh.pa.us
commit 9d4649ca49416111aee2c84b7e4441a0b7aa2fac
Author: Bruce Momjian bruce@momjian.us
Date: Tue Jan 2 23:30:12 2018 -0500
Update copyright for 2018
Backpatch-through: certain files through 9.3
commit 11b8f076c02b4ff0230430fb8d82c80acc450c90
Author: Andres Freund andres@anarazel.de
Date: Thu Dec 14 12:33:48 2017 -0800
Fix a number of copy & paste comment errors in common/int.h.
Author: Christoph Berg
Discussion: https://postgr.es/m/20171214082808.GA5775@msg.df7cb.de
commit 4d6ad31257adaf8a51e1c4377d96afa656d9165f
Author: Andres Freund andres@anarazel.de
Date: Sun Oct 29 22:13:54 2017 -0700
Provide overflow safe integer math inline functions.
It's not easy to get signed integer overflow checks correct and
fast. Therefore abstract the necessary infrastructure into a common
header providing addition, subtraction and multiplication for 16, 32,
64 bit signed integers.
The new macros aren't yet used, but a followup commit will convert
several open coded overflow checks.
Author: Andres Freund, with some code stolen from Greg Stark
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20171024103954.ztmatprlglz3rwke@alap3.anarazel.de
commit 6d7dc5350042697bbb141a7362649db7fa67bd55
Author: Andres Freund andres@anarazel.de
Date: Wed Feb 14 14:17:28 2018 -0800
Return implementation defined value if pg_$op_s$bit_overflow overflows.
Some older compilers otherwise sometimes complain about undefined
values, even though the return value should not be used in the
overflow case. We assume that any decent compiler will optimize away
the unnecessary assignment in performance critical cases.
We do not want to restrain the returned value to a specific value,
e.g. 0 or the wrapped-around value, because some fast ways to
implement overflow detecting math do not easily allow for
that (e.g. msvc intrinsics). As the function documentation already
documents the returned value in case of intrinsics to be
implementation defined, no documentation has to be updated.
Per complaint from Tom Lane and his buildfarm member prairiedog.
Author: Andres Freund
Discussion: https://postgr.es/m/18169.1513958454@sss.pgh.pa.us
commit 9d4649ca49416111aee2c84b7e4441a0b7aa2fac
Author: Bruce Momjian bruce@momjian.us
Date: Tue Jan 2 23:30:12 2018 -0500
Update copyright for 2018
Backpatch-through: certain files through 9.3
commit 11b8f076c02b4ff0230430fb8d82c80acc450c90
Author: Andres Freund andres@anarazel.de
Date: Thu Dec 14 12:33:48 2017 -0800
Fix a number of copy & paste comment errors in common/int.h.
Author: Christoph Berg
Discussion: https://postgr.es/m/20171214082808.GA5775@msg.df7cb.de
commit 4d6ad31257adaf8a51e1c4377d96afa656d9165f
Author: Andres Freund andres@anarazel.de
Date: Sun Oct 29 22:13:54 2017 -0700
Provide overflow safe integer math inline functions.
It's not easy to get signed integer overflow checks correct and
fast. Therefore abstract the necessary infrastructure into a common
header providing addition, subtraction and multiplication for 16, 32,
64 bit signed integers.
The new macros aren't yet used, but a followup commit will convert
several open coded overflow checks.
Author: Andres Freund, with some code stolen from Greg Stark
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20171024103954.ztmatprlglz3rwke@alap3.anarazel.de
The text was updated successfully, but these errors were encountered:
Jira Link: DB-4577
$ git log src/include/common/int.h
commit bdf46af748d0f15f257c99bf06e9e25aba6a24f9
Author: Tom Lane tgl@sss.pgh.pa.us
Date: Thu Apr 26 14:47:16 2018 -0400
commit 6d7dc5350042697bbb141a7362649db7fa67bd55
Author: Andres Freund andres@anarazel.de
Date: Wed Feb 14 14:17:28 2018 -0800
commit 9d4649ca49416111aee2c84b7e4441a0b7aa2fac
Author: Bruce Momjian bruce@momjian.us
Date: Tue Jan 2 23:30:12 2018 -0500
commit 11b8f076c02b4ff0230430fb8d82c80acc450c90
Author: Andres Freund andres@anarazel.de
Date: Thu Dec 14 12:33:48 2017 -0800
commit 4d6ad31257adaf8a51e1c4377d96afa656d9165f
Author: Andres Freund andres@anarazel.de
Date: Sun Oct 29 22:13:54 2017 -0700
dev-server-mbautin-4cpu-15gb-1:~/code/postgres [master ↓·522|✔]
01:00 $ git log src/include/common/int.h
commit bdf46af748d0f15f257c99bf06e9e25aba6a24f9
Author: Tom Lane tgl@sss.pgh.pa.us
Date: Thu Apr 26 14:47:16 2018 -0400
commit 6d7dc5350042697bbb141a7362649db7fa67bd55
Author: Andres Freund andres@anarazel.de
Date: Wed Feb 14 14:17:28 2018 -0800
commit 9d4649ca49416111aee2c84b7e4441a0b7aa2fac
Author: Bruce Momjian bruce@momjian.us
Date: Tue Jan 2 23:30:12 2018 -0500
commit 11b8f076c02b4ff0230430fb8d82c80acc450c90
Author: Andres Freund andres@anarazel.de
Date: Thu Dec 14 12:33:48 2017 -0800
commit 4d6ad31257adaf8a51e1c4377d96afa656d9165f
Author: Andres Freund andres@anarazel.de
Date: Sun Oct 29 22:13:54 2017 -0700
The text was updated successfully, but these errors were encountered: