# let ^C work as normal handle SIGINT nostop pass #### COPY FROM # force malloc to return NULL b malloc disable 1 commands 1 return (void *)0 c end b pqGetCopyData3 commands 2 enable once 1 c end #### COPY TO # force pqPutMsgEnd to fail b pqPutMsgEnd disable 3 commands 3 return -1 c end b PQputCopyEnd condition 4 !errormsg commands 4 enable once 3 c end ### fire it off c