Revert "Initialose cursor using Cursor(connection)"

This reverts commit e4cc109502e241218c2f9b2e95c99b2e858d3cc9.
Use $1 as placeholder instead of ? for PostgreSQL