diff -c psqlodbc.orig\connection.c psqlodbc\connection.c *** psqlodbc.orig\connection.c Wed Nov 30 13:44:11 2005 --- psqlodbc\connection.c Thu Dec 01 20:45:48 2005 *************** *** 1478,1483 **** --- 1478,1488 ---- res = NULL; goto cleanup; } + else if (res->status == PGRES_COMMAND_OK) + { + mylog("send_query: done sending command\n"); + goto cleanup; + } else { mylog("send_query: done sending query\n");