Skip to content

Commit

Permalink
Update lib/ecto/adapters/sql.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski authored May 6, 2024
1 parent bdc8401 commit 89e49c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ecto/adapters/sql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,10 @@ defmodule Ecto.Adapters.SQL do
The `:plan` option in Postgrex can take the values `:custom` or `:fallback_generic`. When `:custom`
is specified, the explain plan generated will consider the specific values of the query parameters
that are supplied. When using :fallback_generic`, the specific values of the query parameters will
that are supplied. When using `:fallback_generic`, the specific values of the query parameters will
be ignored. `:fallback_generic` does not use PostgreSQL's built-in support for a generic explain
plan (available as of PostgreSQL 16), but instead uses a special implmentation that works for PostgreSQL
versions 12 and above.
plan (available as of PostgreSQL 16), but instead uses a special implementation that works for PostgreSQL
versions 12 and above. Defaults to `:custom`.
Any other value passed to `opts` will be forwarded to the underlying adapter query function, including
shared Repo options such as `:timeout`. Non built-in adapters may have specific behaviour and you should
Expand Down

0 comments on commit 89e49c4

Please sign in to comment.