Paul Hardiman <hardiman(at)hardiman(dot)com> writes:
> [ initdb fails with ]
> ERROR: Error: unknown type 'oid8'.
Someone else ran into that just a few days ago. Looks to me like you're
picking up old library files (*.bki files) from a 6.5 or older
installation, instead of the ones that go with 7.0. Check your
PGLIB setting.
regards, tom lane