Fixes issue #15

Resolves PostgreSQL/MySQL specific calls in #15.