epgsql_pool.hrl 417 B

123456789101112131415
  1. -record(epgsql_connection_params, {
  2. host :: string() | binary(),
  3. port :: non_neg_integer(),
  4. username :: string() | binary(),
  5. password :: string() | binary(),
  6. database :: string() | binary()
  7. }).
  8. -record(epgsql_connection, {
  9. connection_sock :: pid(),
  10. params :: #epgsql_connection_params{},
  11. reconnect_attempt = 0 :: non_neg_integer(),
  12. reconnect_timeout = 0 :: non_neg_integer()
  13. }).