Skip to content

Commit ccb62ea

Browse files
authored
Update postgres SSL configuration docs (#619)
1 parent 6b2d98c commit ccb62ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/ecto/adapters/postgres.ex

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ defmodule Ecto.Adapters.Postgres do
6262
* `:maintenance_database` - Specifies the name of the database to connect to when
6363
creating or dropping the database. Defaults to `"postgres"`
6464
* `:pool` - The connection pool module, may be set to `Ecto.Adapters.SQL.Sandbox`
65-
* `:ssl` - Set to true if ssl should be used (default: false)
66-
* `:ssl_opts` - A list of ssl options, see Erlang's `ssl` docs
65+
* `:ssl` - Accepts a list of options to enable TLS for the client connection,
66+
or `false` to disable it. See the documentation for [Erlang's `ssl` module](`e:ssl:ssl`)
67+
for a list of options (default: false)
6768
* `:parameters` - Keyword list of connection parameters
6869
* `:connect_timeout` - The timeout for establishing new connections (default: 5000)
6970
* `:prepare` - How to prepare queries, either `:named` to use named queries

0 commit comments

Comments
 (0)