Branch: Tag:

2014-11-20

2014-11-20 08:13:27 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disappearing filedescriptors need to be reported later sometimes.

1319:   //! through the generic SQL-interface.   void resync() {    mixed err; -  if(!is_open()&&!reconnect()) +  if(!is_open()&&!reconnect()&&sizeof(lastmessage))    ERROR(a2nls(lastmessage));    err = catch {    PD("Portalsinflight: %d\n",_portalsinflight);
1330:    return;    };    PD("%O\n",err); -  if(!reconnect()) +  if(!reconnect()&&sizeof(lastmessage))    ERROR(a2nls(lastmessage));   }