Postgresql, Autocommit, Procedure.
gdb session on a second terminal: gdb -p $(pgrep -nl postgres) define hook-stop shell echo -e "\t\t\t\t\t\t>>>`date +%H:%M:%S`<<<" end print getpid() break exec_simple_query cont ## back to psql to call the procedure print query cont ## back to plsql to set AUTOCOMMIT off and run again I have added