Просмотр исходного кода

export receive_result, sync_on_error

Anton Lebedevich 13 лет назад
Родитель
Сommit
68105edf27
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/pgsql.erl

+ 1 - 2
src/pgsql.erl

@@ -9,6 +9,7 @@
 -export([bind/3, bind/4, execute/2, execute/3, execute/4]).
 -export([close/2, close/3, sync/1]).
 -export([with_transaction/2]).
+-export([receive_result/2, sync_on_error/2]).
 
 -include("pgsql.hrl").
 
@@ -124,8 +125,6 @@ with_transaction(C, F) ->
             {rollback, Why}
     end.
 
-%% -- internal functions --
-
 receive_result(C, Ref) ->
     %% TODO timeout
     receive