Current section

Files

Jump to
pgsql src pgsql_app.erl
Raw

src/pgsql_app.erl

%% @doc Application for the pgsql application.
-module(pgsql_app).
-vsn(1).
-behaviour(application).
%% application API
-export([start/2, stop/1]).
%% @doc Start the application.
-spec start(normal | {takeover, node()} | {failover, node()}, any()) -> {ok, pid()} | {ok, pid(), any()} | {error, any()}.
start(_Type, _StartArgs) ->
pgsql_sup:start_link().
%% @doc Stop the application.
-spec stop(any()) -> stop.
stop(_State) ->
stop.