anchor.diff:  exec_prepared_select(Name, Args, #state{cn=Cn, statements=Statements, ctrans=CTrans}=State) ->
       PrepStmt = dict:fetch(Name, Statements),
       Stmt = PrepStmt#prepared_statement.stmt,
  -    NArgs = input_transforms(Args,State),
  +    NArgs = input_transforms(Args, PrepStmt, State),
       ok = pgsql:bind(Cn, Stmt, NArgs),
       %% Note: we might get partial results here for big selects!
       Result = pgsql:execute(Cn, Stmt),
  
positive.code:             ColumnData = [ {CN, CT} || {column, CN, CT, _, _, _} <- Desc ],
              P = #prepared_statement{
                name = SName,
                input_types = ColumnData,
                output_fields = DataTypes,
                stmt = Statement},
              load_statements(Connection, T, dict:store(Name, P, Dict));
          {error, {error, error, _ErrorCode, Msg, Position}} ->
              {error, {syntax, {Msg, Position}}};
  
negative.code: transform(X) ->
      X.
  
  input_transforms(Data, #prepared_statement{input_types=Types}, _State) ->
      ?debugVal(Types),
      [ transform(E) || E <- Data ].
  