From ccb62eafe440078a3b3395cb8708fa482c2af4da Mon Sep 17 00:00:00 2001 From: AJ Foster <2789166+aj-foster@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:32:22 -0400 Subject: [PATCH] Update postgres SSL configuration docs (#619) --- 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