# `Phoenix.PubSub.PG2`
[🔗](https://github.com/phoenixframework/phoenix_pubsub/blob/v2.3.0/lib/phoenix/pubsub/pg2.ex#L1)

Phoenix PubSub adapter based on `:pg`/`:pg2`.

It runs on Distributed Erlang and is the default adapter.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
