Branch: Tag:

2017-07-02

2017-07-02 00:07:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Omit qportals on CancelRequest connections, eliminates interference.

426:    protected void destroy() {    PD("%d>Close conxion %d\n", socket ? socket->query_fd() : -1, !!nostash);    int|.pgsql_util.sql_result portal; +  if (qportals) // CancelRequest does not use qportals    while (portal = qportals->try_read())    if (objectp(portal))    portal->_purgeportal();
505:    "queued portals: %d output queue: %d/%d\n"    "started: %d\n",    fd,sizeof(i),i->_size_object(), -  qportals->size(),sizeof(this),_size_object(), +  qportals && qportals->size(), sizeof(this), _size_object(),    !!started);    break;    }