From PostgreSQL wiki
Homebrew is a package manager for Mac OS X that builds software from its source code. It includes a version of PostgreSQL packaged by what it refers to as a recipe. This type of installation might be preferred by people who are comfortable using the command line to install programs, such as software developers.
Notes on Homebrew:
- Install PostgreSQL 9 on OS X (2010-11-25) - Easy install using Homebrew package manager.
- Discussion comparing Homebrew and EDB OS X installers