anchor.diff:  -define(DB_DEFAULT_NAME, "chaosbaydb").
   -define(DB_DEFAULT_USER, "chaosbay").
   -define(DB_DEFAULT_PASS, "chaosbay").
  +-define(TIMEOUT, (120 * 1000)).
   
   %%====================================================================
   %% API
  
positive.code: handle_call(request_connection, _From, State) ->
    case State#state.connections of
  	[] -> 
  		{ok, C} = pgsql:connect("localhost", "chaosbay", "chaosbay", [{database, "chaosbaydb"}]),
  		NState = State,
  		C;
  	[C|H] ->
  
negative.code:   gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
  
  request_connection() ->
    gen_server:call(?SERVER, request_connection, ?TIMEOUT).
  
  release_connection(C) ->
    gen_server:call(?SERVER, {release_connection, C}, ?TIMEOUT).
  
  %%--------------------------------------------------------------------
  %% Function: init(Args) -> {ok, State} |
  