citus/src/backend/distributed/test
SaitTalhaNisanci 39e63f5a08 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

(cherry picked from commit ef841115de)
2020-07-27 10:32:08 +03:00
..
blackhole_am.c use macros for pg versions instead of hardcoded values (#3694) 2020-04-01 17:01:52 +03:00
colocation_utils.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
create_shards.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
deparse_function_query.c Automatically convert useless declarations using regex replace (#3181) 2019-11-21 13:47:29 +01:00
deparse_shard_query.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
distributed_deadlock_detection.c remove copyright years (#3286) 2019-12-11 21:14:08 +03:00
distributed_intermediate_results.c Rename LookupCitusTableCacheEntry to GetCitusTableCacheEntry, LookupLookupCitusTableCacheEntry back to LookupCitusTableCacheEntry 2020-03-08 14:08:23 +00:00
distribution_metadata.c Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-27 10:32:08 +03:00
fake_fdw.c use macros for pg versions instead of hardcoded values (#3694) 2020-04-01 17:01:52 +03:00
file_utils.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
foreign_key_relationship_query.c Copy data from CitusTableCacheEntry more often 2020-04-17 14:17:18 +00:00
intermediate_results.c Semmle: Check for NULL in some places where it might occur (#3509) 2020-02-27 10:45:29 +01:00
metadata_sync.c rename node/worker utilities 2020-07-21 13:54:45 +03:00
partitioning_utils.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
progress_utils.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
prune_shard_list.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
relation_access_tracking.c remove copyright years (#3286) 2019-12-11 21:14:08 +03:00
run_from_same_connection.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
sequential_execution.c Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
shared_connection_counters.c Throttle connections to the worker nodes 2020-04-14 10:27:48 +02:00
xact_stats.c Fix Subtransaction memory leak 2020-07-21 11:01:49 +03:00