PostgreSQL Hell Resolved