anchor.diff:              ok = pgsql_connection:equery(C, S, Typed_Parameters),
               receive_result(C);
           Error ->
  -            %?LOG("SQL error ~p : ~p", [Error, Sql]),
  +            ?LOG("SQL error ~p : ~p", [Error, Sql]),
               Error
       end.
   
  
positive.code: -export([with_transaction/2]).
  
  -include("pgsql.hrl").
  %-include("zotonic.hrl").
  
  -define(TIMEOUT, 50000).
  
  
negative.code:         {ok, [], []} = squery(C, "COMMIT"),
          R
      catch
          E:Why ->
  	    ?LOG("Exception in transaction: \"~p,~p\"", [E,Why]),
              squery(C, "ROLLBACK"),
              {rollback, Why}
      end.
  