citus/src
Burak Yücesoy f0e9f132c8 Add get_distribution_value_shardid UDF (#1048)
* Add get_distribution_value_shardid UDF

With this UDF users can now map given distribution value to shard id. We mostly hide
shardids from users to prevent unnecessary complexity but some power users might need
to know about which entry/value is stored in which shard for maintanence purposes.

Signature of this UDF is as follows;

bigint get_distribution_value_shardid(table_name regclass, distribution_value anyelement)
2016-12-22 12:17:08 +03:00
..
backend Add get_distribution_value_shardid UDF (#1048) 2016-12-22 12:17:08 +03:00
include Reference Table Support - Phase 1 2016-12-20 14:09:35 +02:00
test/regress Add get_distribution_value_shardid UDF (#1048) 2016-12-22 12:17:08 +03:00