Accept int2vector not being hash distributable
authorTomas Vondra <tomas@2ndquadrant.com>
Fri, 14 Jul 2017 19:57:48 +0000 (21:57 +0200)
committerTomas Vondra <tomas@2ndquadrant.com>
Fri, 14 Jul 2017 19:57:48 +0000 (21:57 +0200)
commitd45fd537e43d58af340d2da2cdc921d2e85bac50
tree1f61b3b5cf5f22ddc4827c7f6cf00e12e121ee6f
parent5c83ff3b4c072756d96e6bc7626ef7678d977bfe
Accept int2vector not being hash distributable

Upstream commit 5c80642aa8de8393b08cd3cbf612b325cedd98dc removed support
for hashing int2vector data type, as it was dead code (upstream). That
means we can no longer distribute table by hash on this datatype.

We could reintroduce the hash function in Postgres-XL, but int2vector
seems rarely used as distribution key, so let's just fix the tests. If
needed, we can add the functions in the future.
src/test/regress/expected/xl_distribution_column_types.out
src/test/regress/sql/xl_distribution_column_types.sql