first shot at prepared statements for postgresql