Etienne Robillard <erob(at)gthcfoundation(dot)org> writes:
> I also just noticed the compiler was set to llvm-gcc and not gcc4. I
> will try again with gcc 4.4.5.
I'd bet on that being the issue. How recent is your copy of llvm?
We know that llvm produced bad code for PG up till not too long ago
(maybe a year, I'm not sure).
regards, tom lane