Branch: Tag:

2014-12-01

2014-12-01 16:06:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtraces in debugging mode.

576:    if(waitforauthready) {    PD("%d Wait for auth ready %O\n",c&&c->socket?->query_fd(),backtrace()[-2]);    Thread.MutexKey lock=_shortmux->lock(); -  catch(waitforauthready->wait(lock)); +  catch(PT(waitforauthready->wait(lock)));    lock=0;    PD("%d Wait for auth ready released.\n",c&&c->socket?->query_fd());    }