• Joe Conway's avatar
    When a cursor is opened using dblink_open, only start a transaction · 056eb141
    Joe Conway authored
    if there isn't one already open. Upon dblink_close, only commit
    the open transaction if it was started by dblink_open, and only
    then when all cursors opened by dblink_open are closed. The transaction
    accounting is done individually for all named connections, plus
    the persistent unnamed connection.
    056eb141
dblink.c 49.9 KB