Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added link to docs #486

Merged
merged 3 commits into from Oct 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/postgrex.ex
Expand Up @@ -34,7 +34,7 @@ defmodule Postgrex do
| {:connect_timeout, timeout}
| {:handshake_timeout, timeout}
| {:ssl, boolean}
| {:ssl_opts, [:ssl.tls_option()]}
| {:ssl_opts, [:ssl.tls_client_option()]}
| {:socket_options, [:gen_tcp.connect_option()]}
| {:prepare, :named | :unnamed}
| {:transactions, :strict | :naive}
Expand Down Expand Up @@ -79,7 +79,9 @@ defmodule Postgrex do
* `:handshake_timeout` - Connection handshake timeout in milliseconds
(defaults to `:timeout` value);
* `:ssl` - Set to `true` if ssl should be used (default: `false`);
* `:ssl_opts` - A list of ssl options, see ssl docs;
* `:ssl_opts` - A list of ssl options, see the
[`tls_client_option`](http://erlang.org/doc/man/ssl.html#type-tls_client_option)
from the ssl docs;
* `:socket_options` - Options to be given to the underlying socket
(applies to both TCP and UNIX sockets);
* `:prepare` - How to prepare queries, either `:named` to use named queries
Expand Down