anchor.diff:          try
               case pgsql:execute(Cn, Stmt) of
                   {ok, Count} ->
  +                    ?COMMIT(Cn),
                       {{ok, Count}, State};
                   Result ->
  +                    ?ROLLBACK(Cn),
                       {{error, Result}, State}
               end
           catch
  -            _:X -> ?debugVal(X), ?debugVal(erlang:get_stacktrace())
  +            _:X ->
  +                ?ROLLBACK(Cn),
  +                {error, X}
           end,
  -    pgsql:squery(Cn, "COMMIT"),
       Rv.
   
   init(Config) ->
  
positive.code: -behaviour(sqerl_client).
  
  -include_lib("epgsql/include/pgsql.hrl").
  -include_lib("eunit/include/eunit.hrl").
  
  %% API
  -export([start_link/1]).
  
negative.code:             {error, {syntax, {Msg, Position}}};
          Error ->
              %% TODO: Discover what errors can flow out of this, and write tests.
              {error, Error}
      end.
  
  