mirror of https://github.com/citusdata/citus.git
* 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
|
||
---|---|---|
.. | ||
blackhole_am.c | ||
colocation_utils.c | ||
create_shards.c | ||
deparse_function_query.c | ||
deparse_shard_query.c | ||
distributed_deadlock_detection.c | ||
distributed_intermediate_results.c | ||
distribution_metadata.c | ||
fake_fdw.c | ||
file_utils.c | ||
foreign_key_relationship_query.c | ||
intermediate_results.c | ||
metadata_sync.c | ||
partitioning_utils.c | ||
progress_utils.c | ||
prune_shard_list.c | ||
relation_access_tracking.c | ||
run_from_same_connection.c | ||
sequential_execution.c | ||
shared_connection_counters.c | ||
xact_stats.c |