postgresql/src/include
Andres Freund 4d6ad31257 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
2017-12-12 16:55:37 -08:00
..
access Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
bootstrap
catalog SQL procedures 2017-11-30 11:03:20 -05:00
commands Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
common Provide overflow safe integer math inline functions. 2017-12-12 16:55:37 -08:00
datatype
executor Support Parallel Append plan nodes. 2017-12-05 17:28:39 -05:00
fe_utils Update typedefs.list and re-run pgindent 2017-11-29 09:24:24 -05:00
foreign Basic partition-wise join functionality. 2017-10-06 11:11:10 -04:00
lib Update typedefs.list and re-run pgindent 2017-11-29 09:24:24 -05:00
libpq Fix warnings from cpluspluscheck 2017-12-04 19:55:52 -05:00
mb Add more efficient functions to pqformat API. 2017-10-11 16:01:52 -07:00
nodes Support Parallel Append plan nodes. 2017-12-05 17:28:39 -05:00
optimizer Support Parallel Append plan nodes. 2017-12-05 17:28:39 -05:00
parser SQL procedures 2017-11-30 11:03:20 -05:00
port Clean up warnings in MinGW builds. 2017-11-16 17:57:38 -05:00
portability
postmaster Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
regex
replication Generational memory allocator 2017-11-23 05:45:07 +11:00
rewrite Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:07 -05:00
snowball
statistics
storage Support Parallel Append plan nodes. 2017-12-05 17:28:39 -05:00
tcop Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
tsearch Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
utils Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
.gitignore
c.h Further refactoring of c.h and nearby files. 2017-11-16 10:36:21 -05:00
fmgr.h Allow the built-in ordered-set aggregates to share transition state. 2017-10-16 15:51:23 -04:00
funcapi.h Support domains over composite types. 2017-10-26 13:47:45 -04:00
getaddrinfo.h
getopt_long.h
Makefile
miscadmin.h Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
pg_config_ext.h.in
pg_config_ext.h.win32
pg_config_manual.h Restrict lo_import()/lo_export() via SQL permissions not hard-wired checks. 2017-11-09 12:36:58 -05:00
pg_config.h.in Provide overflow safe integer math inline functions. 2017-12-12 16:55:37 -08:00
pg_config.h.win32 Provide overflow safe integer math inline functions. 2017-12-12 16:55:37 -08:00
pg_getopt.h
pg_trace.h
pgstat.h Avoid use of non-portable strnlen() in pgstat_clip_activity(). 2017-09-19 14:25:47 -07:00
pgtar.h
pgtime.h Mark assorted variables PGDLLIMPORT. 2017-12-05 09:23:57 -05:00
port.h Further refactoring of c.h and nearby files. 2017-11-16 10:36:21 -05:00
postgres_ext.h
postgres_fe.h
postgres.h
rusagestub.h
windowapi.h