Miguel Ramos <org(dot)postgresql(at)miguel(dot)ramos(dot)name> writes:
> This because I have the impression that it is during index creation,
> where I think client role would be minimal.
Hard to believe really, given the spelling of the message. But anyway,
be sure you do the run with log_statement = all so that it's clear what
is being worked on when the error happens.
regards, tom lane