app.ex (294B)
1 defmodule Postgrex.App do 2 @moduledoc false 3 use Application 4 5 def start(_, _) do 6 opts = [strategy: :one_for_one, name: Postgrex.Supervisor] 7 8 children = [ 9 {Postgrex.TypeSupervisor, :manager}, 10 Postgrex.Parameters 11 ] 12 13 Supervisor.start_link(children, opts) 14 end 15 end