MCPcopy Create free account
hub / github.com/apache/madlib / svec_in

Function svec_in

methods/svec/src/pg_gp/sparse_vector.c:183–188  ·  view source on GitHub ↗

* svec_in - reads in a string and convert that to an svec */

Source from the content-addressed store, hash-verified

181 * svec_in - reads in a string and convert that to an svec
182 */
183Datum svec_in(PG_FUNCTION_ARGS)
184{
185 char *str = pstrdup(PG_GETARG_CSTRING(0));
186 SvecType *result = svec_in_internal(str);
187 PG_RETURN_SVECTYPE_P(result);
188}
189
190SvecType * svec_in_internal(char * str)
191{

Callers

nothing calls this directly

Calls 1

svec_in_internalFunction · 0.85

Tested by

no test coverage detected