citus/src/backend/distributed/operations
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
..
citus_create_restore_point.c rename node/worker utilities (#4003) 2020-07-09 15:30:35 +03:00
citus_tools.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
create_shards.c Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
delete_protocol.c Use TupleDestination API for partitioning in insert/select. 2020-07-17 09:43:46 -07:00
modify_multiple_shards.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
node_protocol.c rename node/worker utilities (#4003) 2020-07-09 15:30:35 +03:00
repair_shards.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
shard_rebalancer.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
split_shards.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
stage_protocol.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
worker_node_manager.c Unify node sort ordering 2020-07-22 11:03:25 +02:00