postgresql(at)thomasbache(dot)de writes:
> ERROR: 22003: integer out of range
> LOCATION: int84, int8.c:947
So this is complaining about something that was initially an int8,
which is to say none of the stuff you've shown us, except possibly
the serial column (could the serial counter have exceeded 2^31?).
> The interesting part of the table-definition is
I think the problem is probably buried in something you didn't
show us, eg a default for one of the other columns.
regards, tom lane