"bruno Corbin" <bc@sipco.fr> writes:
> copying template1 to postgres ... FATAL: could not create file
> "base/10793/1247": Input/output error
You've got hardware problems :-( "Input/output error" is not a symptom
that a Postgres bug could produce.
regards, tom lane