Datum gbt_bytea_union(PG_FUNCTION_ARGS) { GistEntryVector *entryvec = (GistEntryVector *) PG_GETARG_POINTER(0); int32 *size = (int *) PG_GETARG_POINTER(1); PG_RETURN_POINTER(gbt_var_union(entryvec, size, &tinfo)); }
Datum gbt_bytea_union(MDB_FUNCTION_ARGS) { GistEntryVector *entryvec = (GistEntryVector *) MDB_GETARG_POINTER(0); int32 *size = (int *) MDB_GETARG_POINTER(1); MDB_RETURN_POINTER(gbt_var_union(entryvec, size, MDB_GET_COLLATION(), &tinfo)); }