Skip to content

Is it necessary to pfree json tuples? #1

@exedealer

Description

@exedealer

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions