Added support for PostgreSQL and MySQL/MariaDB.
Minor changes
Merge pull request #30 from jcristovao/upstream

PostgreSQL and MySQL support