static Datum
leftmostvalue_inet(void)
{
- return DirectFunctionCall3(inet_in,
- CStringGetDatum("0.0.0.0/0"),
- ObjectIdGetDatum(0),
- Int32GetDatum(-1));
+ return DirectFunctionCall1(inet_in, CStringGetDatum("0.0.0.0/0"));
}
GIN_SUPPORT(inet, true, leftmostvalue_inet, network_cmp)
static Datum
leftmostvalue_bit(void)
{
- return DirectFunctionCall3(bit_in,
- CStringGetDatum(""),
- ObjectIdGetDatum(0),
- Int32GetDatum(-1));
+ return DirectFunctionCall1(bit_in, CStringGetDatum(""));
}
GIN_SUPPORT(bit, true, leftmostvalue_bit, bitcmp)
static Datum
leftmostvalue_varbit(void)
{
- return DirectFunctionCall3(varbit_in,
- CStringGetDatum(""),
- ObjectIdGetDatum(0),
- Int32GetDatum(-1));
+ return DirectFunctionCall1(varbit_in, CStringGetDatum(""));
}
GIN_SUPPORT(varbit, true, leftmostvalue_varbit, bitcmp)