citus/src/backend/distributed
SaitTalhaNisanci ef841115de
Fix int32 overflow and use PG macros for INT32_XX (#4061)
* Use CalculateUniformHashRangeIndex in HashPartitionId

INT32_MIN definition can change among different platforms hence it is
possible to get overflow, we would see crashes because of this in debian
distros. We have already solved a similar problem with introducing
CalculateUniformHashRangeIndex method, hence to solve it we can use the
same method, this also removes some duplication and has a single place
to decide that.

* Use PG_INT32_XX instead of INT32_XX to be safer
2020-07-23 18:30:08 +03:00
..
commands Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
connection Make FindAvailableConnection() more strict 2020-07-23 15:59:50 +02:00
deparser Accept list of values in a supported ALTER ROLE .. SET statement 2020-07-21 03:49:57 +03:00
executor separate the logic in ManageWorkerPool (#3298) 2020-07-23 13:47:35 +03:00
metadata Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
operations Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
planner Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
progress Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
relay Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
sql Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
test Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
transaction Remove level asserts in abort handler 2020-07-12 22:54:35 +02:00
utils Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
worker Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
.gitignore Change SQL migration build process for easier reviews (#2951) 2019-09-13 18:44:27 +02:00
Makefile Introduce new make targets for downgrade scripts 2020-07-14 13:10:18 +03:00
citus.control Bump citus version to 9.5devel 2020-07-01 14:46:55 +03:00
safeclib Compile safestringlib using regular configure 2020-03-19 11:52:20 +01:00
shared_library_init.c remove occurrences of task-tracker from gucs 2020-07-21 16:19:46 +03:00