Exemple #1
0
static float8
gbt_int4_dist(const void *a, const void *b)
{
	return GET_FLOAT_DISTANCE(int32, a, b);
}
Exemple #2
0
static float8
gbt_float4_dist(const void *a, const void *b)
{
	return GET_FLOAT_DISTANCE(float4, a, b);
}
Exemple #3
0
static float8
gbt_cash_dist(const void *a, const void *b)
{
	return GET_FLOAT_DISTANCE(Cash, a, b);
}
Exemple #4
0
static float8
gbt_int8_dist(const void *a, const void *b, FmgrInfo *flinfo)
{
	return GET_FLOAT_DISTANCE(int64, a, b);
}