"Vilson farias" <vilson(dot)farias(at)digitro(dot)com(dot)br> writes:
> The main problems appears to be related with "Cannot insert a duplicate
> key into unique index pg_attribute_relid_attnum_index" message. How can I
> fix it?
What platform are you running on, and how did you build or acquire the
executables? Have you ever run the regression tests?
This looks a lot like known portability problems on PPC, Alpha, etc.
There are workarounds but you need to know about them when building...
regards, tom lane