* svec_to_string - converts a sparse vector to a text */
| 62 | * svec_to_string - converts a sparse vector to a text |
| 63 | */ |
| 64 | Datum svec_to_string(PG_FUNCTION_ARGS) |
| 65 | { |
| 66 | SvecType *svec = PG_GETARG_SVECTYPE_P(0); |
| 67 | char *result = svec_out_internal(svec); |
| 68 | PG_RETURN_TEXT_P(cstring_to_text(result)); |
| 69 | } |
| 70 | |
| 71 | PG_FUNCTION_INFO_V1(svec_from_string); |
| 72 | /** |
nothing calls this directly
no test coverage detected