Browse Source

clean up application resource file

Will 16 years ago
parent
commit
3ba971f9db
3 changed files with 5 additions and 7 deletions
  1. 1 1
      Makefile
  2. 3 4
      src/epgsql.app
  3. 1 2
      src/pgsql_connection.erl

+ 1 - 1
Makefile

@@ -1,5 +1,5 @@
 NAME		:= epgsql
-VERSION		:= 0.1
+VERSION		:= 0.2
 
 ERL  		:= erl
 ERLC 		:= erlc

+ 3 - 4
src/epgsql.app

@@ -1,8 +1,7 @@
 {application, epgsql,
- [{description, "PostgreSQL Database Client"},
-  {vsn, "0.1"},
+ [{description, "PostgreSQL Client"},
+  {vsn, "0.2"},
   {modules, [pgsql, pgsql_binary, pgsql_connection, pgsql_types]},
   {registered, []},
-  {mod, {epgsql, []}},
-  {applications, [kernel, stdlib, crypto, sasl},
+  {applications, [kernel, stdlib]},
   {included_applications, []}]}.

+ 1 - 2
src/pgsql_connection.erl

@@ -198,8 +198,7 @@ initializing({$Z, <<Status:8>>}, State) ->
     gen_fsm:reply(State#state.reply_to, {ok, self()}),
     {next_state, ready, State#state{txstatus = Status}}.
 
-ready(Data, State) ->
-    error_logger:info_msg("unexpected msg when ready: ~p~n", Data),
+ready(_Msg, State) ->
     {next_state, ready, State}.
 
 %% execute simple query