Fix bug in postgres processor.