Forum OpenACS Q&A: Response to What does it take to get Postgresql database error detail in tracebacks?

The error info that psql provides is much more useful than what you get in the AOLServer log. I just evaluate offending sql there. Maybe not the most elegant approach, but so far it's always pinpointed the problem. FWIW...