There is a typo in:
https://wiki.postgresql.org/wiki/Homebrew
In the middle section it says you can get to postgres via $ pgsql postgres
this should be $ psql postgres
--
Nick Bauer-Levey
Lead Software Engineer
Gagosian | New York, NY
CONFIDENTIALITY NOTICE
The information contained in this communication (including, without limitation, in any attachment) is confidential and is intended for disclosure only to the addressee(s). If you are not an intended recipient or have otherwise received this communication in error, please notify the sender and then delete it, and you are hereby notified that any review, use, dissemination, distribution or copying of any of the contents of this communication is strictly prohibited.