Ejemplo n.º 1
0
Archivo: tsearch2.c Proyecto: 50wu/gpdb
/* token_type() */
Datum
tsa_token_type_current(PG_FUNCTION_ARGS)
{
	INSERT_ARGUMENT0(ObjectIdGetDatum(GetCurrentParser()), false);
	return ts_token_type_byid(fcinfo);
}
Ejemplo n.º 2
0
/* token_type() */
datum_t
tsa_token_type_current(PG_FUNC_ARGS)
{
	INSERT_ARGUMENT0(OID_TO_D(GetCurrentParser()), false);
	return ts_token_type_byid(fcinfo);
}