Use factored-out option parsing in Producer::PostgreSQL