Rodrigo Gonzalez <rjgonzale(at)gmail(dot)com> writes:
> Dont know exactly what you mean, if you are talking about the moment
> that I receive the error...
No, it's clear that things are already broken before pg_dump started.
You need to show us how to get to this state from a fresh database.
regards, tom lane