prepared statements doesn't work well for postgres. Using normal statements.