PostgreSQL is a free object relational database management system which available in most Operating Systems. When Apple released 10.7, one of the new feature is that PostgreSQL already built in as client on OS X Lion, and the server version on OSX Lion Server and this is quite suprising thing. The question is how to use it, if we are the one of PostgreSQL developers and not running on OS X Lion Server.
This built in PostgreSQL installed client has 9.0.4 version and Apple leaves their own configuration to make this work. Remember that OS X is a unix-based OS and of course we can built the server version on OS X Lion according to the built in client version. This post is about how to make it work.
Building PostgreSQL Server on OS X Lion