Skip to content

Is it necessary to pfree json tuples? #1

@exe-dealer

Description

@exe-dealer

Datum tupdat = heap_copy_tuple_as_datum(tuple, tupdesc);
Datum tupjson = DirectFunctionCall1(row_to_json, tupdat);
char *tupjsonstr = TextDatumGetCString(tupjson);
appendStringInfoString(out, tupjsonstr);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions