Example #1
0
File: tsearch2.c Project: 50wu/gpdb
/* parse(text) */
Datum
tsa_parse_current(PG_FUNCTION_ARGS)
{
	INSERT_ARGUMENT0(ObjectIdGetDatum(GetCurrentParser()), false);
	return ts_parse_byid(fcinfo);
}
Example #2
0
/* parse(text) */
datum_t
tsa_parse_current(PG_FUNC_ARGS)
{
	INSERT_ARGUMENT0(OID_TO_D(GetCurrentParser()), false);
	return ts_parse_byid(fcinfo);
}