PostgreSQL tests

I started to add tests for PostgreSQL and already fixed some issues. Though, some tests still fail. From my point of view, it is not safe to use PostgreSQL at the moment.  
I'm wondering if this is cause for concern, or could create a break for some people.

Maybe it's not a big enough issue though.