Fix #31 - fix postgresql empty database check
Merge pull request #32 from freaz/master

Fix #31 - fix postgresql empty database check