I'm getting a bunch of these in my log: 2003-11-22 21:00:00 ERROR: syntax error at or near "s" at character 87 I think there might be an unescaped ' getting through. Is there a way to have the database and statement show up along with the error? log_statements appears to log every statement. __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org