I am trying to use an older version of postgres and I cannot get it to work. When I run brew search postgres I see:
$ brew search postgresql
==> Searching local taps...
postgresql ✔ [email protected] ✔ [email protected] [email protected]
but then when I run brew switch postgres 9.4 I see:
$ brew switch postgresql 9.4
Error: postgresql does not have a version "9.4" in the Cellar.
Versions available: 9.6.2, 9.6.4
What am I missing? I need to run version 9.4
brew install [email protected]first.