From 925c94f437bd5c2f32cd1efc765a1774b95ef52f Mon Sep 17 00:00:00 2001 From: AJ Foster <2789166+aj-foster@users.noreply.github.com> Date: Sun, 23 Jun 2024 15:22:48 -0400 Subject: [PATCH] Update SSL configuration docs --- lib/ecto/adapters/postgres.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ecto/adapters/postgres.ex b/lib/ecto/adapters/postgres.ex index f217e437..d3a8a04a 100644 --- a/lib/ecto/adapters/postgres.ex +++ b/lib/ecto/adapters/postgres.ex @@ -62,8 +62,9 @@ defmodule Ecto.Adapters.Postgres do * `:maintenance_database` - Specifies the name of the database to connect to when creating or dropping the database. Defaults to `"postgres"` * `:pool` - The connection pool module, may be set to `Ecto.Adapters.SQL.Sandbox` - * `:ssl` - Set to true if ssl should be used (default: false) - * `:ssl_opts` - A list of ssl options, see Erlang's `ssl` docs + * `:ssl` - Accepts a list of options to enable TLS for the client connection, + or `false` to disable it. See the documentation for [Erlang's `ssl` module](`e:ssl:ssl`) + for a list of options (default: false) * `:parameters` - Keyword list of connection parameters * `:connect_timeout` - The timeout for establishing new connections (default: 5000) * `:prepare` - How to prepare queries, either `:named` to use named queries