• Tom Lane's avatar
    Adjust ExecMakeTableFunctionResult to produce a single all-nulls row · bebaf706
    Tom Lane authored
    when a function that returns a single tuple (not a setof tuple) returns
    NULL.  This seems to be the most consistent behavior.  It would have
    taken a bit less code to make it return an empty table (zero rows) but
    ISTM a non-SETOF function ought always return exactly one row.  Per
    bug report from Ivan-Sun1.
    bebaf706
nodeFunctionscan.c 10 KB