Steve,
Hmmm ... I'm using PostgreSQL for quite a few contortions of data, and
I can't say that I've encountered anything quite like the problems
you're having. It may be that you actually have a compile problem with
Postgres rather than a SQL problem.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco