A simple wrapper for executing queries using the postgresql package.