Skip to content

Commit 6e68f03

Browse files
update docs
1 parent 6540c9d commit 6e68f03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/ecto/adapters/postgres.ex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ defmodule Ecto.Adapters.Postgres do
142142

143143
@doc """
144144
All Ecto extensions for Postgrex.
145+
146+
Currently Ecto does not define any of its own extensions for Postgrex.
147+
If this changes in a future release, you will need to call this function
148+
when defining your own custom extensions:
149+
150+
Postgrex.Types.define(MyApp.PostgresTypes,
151+
[MyExtension.Foo, MyExtensionBar] ++ Ecto.Adapters.Postgres.extensions())
145152
"""
146153
def extensions do
147154
[]

0 commit comments

Comments
 (0)