TryGhost/Ghost — pull request #3478 by halfdan (2014-07-31 12:55:34+00:00)
Title: Fixing pg build.

refs #2499
- Properly reference pg client
- Fix broken sql queries