"Thomas F. O'Connell" <tf(at)o(dot)ptimized(dot)com> writes:
> but we just built 8.2.2 from source using cc, and now we're seeing
> this type of error in the logs:
> ERROR: attribute 3 has wrong type
> DETAIL: Table has type character varying, but query expects
> character varying.
This has nothing to do with your compiler :-(
regards, tom lane