# `Electric.Postgres.Inspector.EtsInspector`
[🔗](https://github.com/electric-sql/electric/tree/%40core/sync-service%401.6.2/packages/sync-service/lib/electric/postgres/inspector/ets_inspector.ex#L1)

This serves as a write-through cache for caching the namespace and tablename as they occur in PG.

Note that if users create shapes for the same table but spelled differently,
e.g. `~s|public.users|`, `~s|users|`, `~s|Users|`, and `~s|USERS|`
then there will be 4 entries in the cache each of which maps to `{~s|public|, ~s|users|}`.
If they create a shape for a different table `~s|"Users"|`, then there will be another entry
in ETS for `~s|"Users"|` that maps to `{~s|public|, ~s|"Users"|}`.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `name`

# `start_link`

---

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