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

Function svec_out

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

* svec_out - outputs a sparse vector as a C string */

Source from the content-addressed store, hash-verified

124 * svec_out - outputs a sparse vector as a C string
125 */
126Datum svec_out(PG_FUNCTION_ARGS)
127{
128 SvecType *svec = PG_GETARG_SVECTYPE_P(0);
129 char *result = svec_out_internal(svec);
130 PG_RETURN_CSTRING(result);
131}
132
133char * svec_out_internal(SvecType *svec)
134{

Callers

nothing calls this directly

Calls 1

svec_out_internalFunction · 0.85

Tested by

no test coverage detected