Fix some issues with PostgreSQL in tables definitions and in people
query
Merge pull request #97 from xillibit/patch-9

Fix some issues with PostgreSQL in tables definitions and in people