• Tom Lane's avatar
    Tweak SPI_cursor_open to allow INSERT/UPDATE/DELETE RETURNING; this was · 3f8db37c
    Tom Lane authored
    merely a matter of fixing the error check, since the underlying Portal
    infrastructure already handles it.  This in turn allows these statements
    to be used in some existing plpgsql and plperl contexts, such as a
    plpgsql FOR loop.  Also, do some marginal code cleanup in places that
    were being sloppy about distinguishing SELECT from SELECT INTO.
    3f8db37c
parse_expr.c 58.6 KB