Actually prefix the table names used with 'schema.', this should be clearer
and less prone to namespace clashes.
Also add spaces around == constructs as per the rest of the code.
Authored by: jruigrok 2008-03-14
Parent: [r6694]
Child: [r6696]