Branch: Tag:

2017-11-21

2017-11-21 09:05:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add diagnostics.

495:    }       final void connectloop(proxy pgsqlsess, int nossl) { -  mixed err = catch { + #ifdef PG_DEBUG +  mixed err = + #endif +  catch {    for (; ; clear()) {    socket->connect(pgsqlsess. host, pgsqlsess. port);   #if constant(SSL.File)
541:    Thread.Thread(pgsqlsess->processloop, this);    return;    }; +  PD("Connect error %s\n", describe_backtrace(err));    catch(destruct(pgsqlsess->waitforauthready));    destruct(this);    }