"Premsun Choltanwanich" <Premsun@nsasia.co.th> writes:
> I think I use contrib/lo type for manage lo. What is wrong?
You need to use the 8.1 version of contrib/lo, not any previous version.
You might find that the easiest way to manage this is to create an empty
database, load the 8.1 contrib/lo definitions by running lo.sql, then
restoring from your pg_dump backup. You'll see some complaints about
duplicate function definitions but these can be ignored.
regards, tom lane