Use more dibi magic / add PostgreSQL support