Branch: Tag:

2020-06-10

2020-06-10 21:29:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release portals that had background-exceptions during bind.

997:    mixed e = catch(portal->_preparebind(tp.datatypeoid));    if (!this) // Already destructed?    throw(e); -  if (e && !portal.delayederror) { -  portal._unnamedstatementkey = 0; // Release early, release often +  if (e) { +  portal->_purgeportal(); +  if (!portal.delayederror)    throw(e);    }    }