anchor.diff:              {ok, #state{cn=Connection, statements=Prepared, ctrans=CTrans}};
           {error, {syntax, Msg}} ->
               {stop, {syntax, Msg}};
  -        X -> ?debugVal(X),                
  +        X -> ?debugVal(X),
                {stop, X}
       end.
   
  
positive.code:          exec_prepared_statement/3,
           exec_prepared_select/3]).
  
  -record(state, 
          {cn,
           statements = dict:new() :: dict(),
           ctrans :: dict() | undefined }).
  
  -record(prepared_statement, 
          {name :: string(),
           input_types  :: any(),
           output_fields :: any(),
  
negative.code:     ok = pgsql:bind(Cn, Stmt, NArgs),
      %% Note: we might get partial results here for big selects!
      Rv =
          try
              case pgsql:execute(Cn, Stmt) of
                  {ok, Count} ->
                      {{ok, Count}, State};
                  Result ->
                      {{error, Result}, State}
              end
          catch
              _:X -> ?debugVal(X), ?debugVal(erlang:get_stacktrace())
          end,
      pgsql:squery(Cn, "COMMIT"),
  