Branch: Tag:

2016-10-15

2016-10-15 00:36:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop callbacks on destruct of conxion, force short close.

316:    .pgsql_util.conxion lcon=getsocket(2);    lcon->add_int32(16)->add_int32(PG_PROTOCOL(1234,5678))    ->add_int32(backendpid)->add(cancelsecret)->sendcmd(FLUSHSEND); -  lcon=0; +  destruct(lcon); // Destruct explicitly to avoid delayed close   #ifdef PG_DEBUGMORE    PD("Closetrace %O\n",backtrace());   #endif