|
@@ -11,12 +11,10 @@
|
|
-export([init/1, code_change/3, terminate/2]).
|
|
-export([init/1, code_change/3, terminate/2]).
|
|
|
|
|
|
-include("pgsql.hrl").
|
|
-include("pgsql.hrl").
|
|
|
|
+-include("pgsql_binary.hrl").
|
|
|
|
|
|
-record(state, {c, mod, sock, tail}).
|
|
-record(state, {c, mod, sock, tail}).
|
|
|
|
|
|
--define(int16, 1/big-signed-unit:16).
|
|
|
|
--define(int32, 1/big-signed-unit:32).
|
|
|
|
-
|
|
|
|
%% -- client interface --
|
|
%% -- client interface --
|
|
|
|
|
|
start_link(C, Host, Username, Opts) ->
|
|
start_link(C, Host, Username, Opts) ->
|