PocketRent/hhvm-pgsql — pull request #14 by Searle (2014-04-15 14:20:11+00:00)
Title: pq_fetch_all should return 'false' if result set is empty

If pg_fetch_all reveices an empty result set, I get a segfault and I have no idea why. This path resolves the issue and makes pg_fetch_all more compatible with PHP. My first pull request, hope I did it right...