• Peter Eisentraut's avatar
    Use portal pinning in PL/Perl and PL/Python · 70d6226e
    Peter Eisentraut authored
    PL/pgSQL "pins" internally generated portals so that user code cannot
    close them by guessing their names.  Add this functionality to PL/Perl
    and PL/Python as well, preventing users from manually closing cursors
    created by spi_query and plpy.cursor, respectively.  (PL/Tcl does not
    currently offer any cursor functionality.)
    70d6226e
plpy_cursorobject.c 11.4 KB