Branch: Tag:

2014-11-13

2014-11-13 15:44:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Notify callers early when connections are not possible.

1265:      void _connectfail(void|mixed err) {    PD("Connect failed %O reconnectdelay %d\n",err,reconnectdelay); +  if(waitforauthready) { +  destruct(waitforauthready); +  waitforauthready=0; +  }    if(!err || reconnectdelay) {    int tdelay;    switch(tdelay=reconnectdelay) {