postgresql/src/backend
Peter Eisentraut 357cfefb09 Use C library functions instead of Abs() for int64
Instead of Abs() for int64, use the C standard functions labs() or
llabs() as appropriate.  Define a small wrapper around them that
matches our definition of int64.  (labs() is C90, llabs() is C99.)

Reviewed-by: Zhang Mingli <zmlpostgres@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/4beb42b5-216b-bce8-d452-d924d5794c63%40enterprisedb.com
2022-10-10 09:01:17 +02:00
..
access Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
backup Rename shadowed local variables 2022-10-05 21:01:41 +13:00
bootstrap meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
catalog Fix self-referencing foreign keys with partitioned tables 2022-10-07 19:37:48 +02:00
commands Fix self-referencing foreign keys with partitioned tables 2022-10-07 19:37:48 +02:00
executor Remove uses of MemoryContextContains in nodeAgg.c and nodeWindowAgg.c. 2022-10-06 13:27:34 -04:00
foreign meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
jit meson: Add windows resource files 2022-10-05 09:56:05 -07:00
lib meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
libpq meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
main meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nodes Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
optimizer Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
parser Rename shadowed local variables 2022-10-05 21:01:41 +13:00
partitioning Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
po meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
port meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
postmaster Message style improvements 2022-09-24 18:41:25 -04:00
regex Remove uses of register due to incompatibility with C++17 and up 2022-09-24 12:08:37 -07:00
replication pgstat: Prevent stats reset from corrupting slotname by removing slotname 2022-10-08 09:43:29 -07:00
rewrite meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
snowball meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
statistics Rename shadowed local variables 2022-10-05 21:01:41 +13:00
storage Take care to de-duplicate entries in standby.c's table of locks. 2022-10-06 12:27:36 -04:00
tcop Add optional parameter to PG_TRY() macros 2022-10-06 10:08:31 +13:00
tsearch Introduce t_isalnum() to replace t_isalpha() || t_isdigit() tests. 2022-10-06 11:08:56 -04:00
utils Use C library functions instead of Abs() for int64 2022-10-10 09:01:17 +02:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Move gramparse.h to src/backend/parser 2022-09-14 10:57:13 +07:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00