"Wim Audenaert" <wima85(at)hotmail(dot)com> writes:
> When I try to do a pg_dump of my database, I get the following error
> message:
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: cache lookup failed for function
> 17039
I'm not sure how you managed that, but I'm sure that it's entirely
unrelated to the database's encoding.
Do you still have the dump file that you used to move from 8.0 to 8.1?
If so, what does it show as the declaration for this table?
regards, tom lane