Обсуждение: Installation problem(Error: unknown type oidvector)
Hi, During installation of Postgresql 7.0.2. I get the folowing error when I try to initdb. We are initializing the database system with username postgres (uid=501). This user will own all the files and must also own the server Creating template database in /opt/pgsql/data/base/template1 ERRER: Error: unknown type 'oidvector' initdb: could not create template database initdb: cleaning up by wiping out /opt/pgsql/data/base/template1 Could any help? Thank you in advance Best regards, Poul Kristensen The Danish National Institute of Social Researcher
Kristensen Poul <pok@sfi.dk> writes:
> During installation of Postgresql 7.0.2. I get the
> folowing error when I try to initdb.
> We are initializing the database system with username postgres
> (uid=501).
> This user will own all the files and must also own the server
> Creating template database in /opt/pgsql/data/base/template1
> ERRER: Error: unknown type 'oidvector'
Looks like the postgres binary you're actually invoking is not 7.0.2,
but some pre-7.0 version. Check your PATH.
regards, tom lane