• Tom Lane's avatar
    Allow SQL-language functions to return the output of an INSERT/UPDATE/DELETE · 9b46abb7
    Tom Lane authored
    RETURNING clause, not just a SELECT as formerly.
    
    A side effect of this patch is that when a set-returning SQL function is used
    in a FROM clause, performance is improved because the output is collected into
    a tuplestore within the function, rather than using the less efficient
    value-per-call mechanism.
    9b46abb7
dest.c 6.1 KB