Beginning to use prepared statements with PostgreSQL