Supporting PostgreSQL (again)

As just explained in Event logging fixes (not only) for PostgreSQL there is another PR related to this topic: