Thread: Installation problem(Error: unknown type oidvector)

Installation problem(Error: unknown type oidvector)

From
Kristensen Poul
Date:
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

Re: Installation problem(Error: unknown type oidvector)

From
Tom Lane
Date:
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