Re: The data directory was initialized by PostgreSQL version 7.4, which is not compatible with this version 7.3.3. - Mailing list pgsql-novice

From Josh Berkus
Subject Re: The data directory was initialized by PostgreSQL version 7.4, which is not compatible with this version 7.3.3.
Date
Msg-id 200311091408.54624.josh@agliodbs.com
Whole thread Raw
In response to The data directory was initialized by PostgreSQL version 7.4, which is not compatible with this version 7.3.3.  (Philip Riggs <priggs@cnr.colostate.edu>)
List pgsql-novice
Philip,

> createdb: could not connect to database template1: FATAL:  The data
> directory was initialized by PostgreSQL version 7.4, which is not
> compatible with this version 7.3.3.

Looks like you have a 7.3.3 version of postmaster on your system somewhere,
and are trying to start that after doing initdb under 7.4.  Hunt down and
remove the duplicate pg executables and you should be fine.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Primary Keys
Next
From: Tom Lane
Date:
Subject: Re: 'pg_ctl status' not working