Logged In: YES
user_id=597323
Originator: NO

work-around in postgres 8.1.x

change the value of "add_missing_from" from "off" to "on" in your postgresql.conf

fix in postgres 8.1.x

author correct sql statements.