On 07/29/2016 09:06 AM, rob stone wrote:
> Hi,
> Some weeks ago I downloaded 9.6beta1 source, compiled it and used
> initdb to create a cluster, then psql to create roles, schema, etc.,
> etc. I loaded some data into tables using COPY FROM.
>
> Today I downloaded the 9.6beta3 source, compiled it and tried to start
> postgres using pg_ctl but pulled the following error:-
>
> "The database cluster was initialized with PG_CONTROL_VERSION 942, but
> the server was compiled with PG_CONTROL_VERSION 960."
>
> So, could somebody tell me if the 9.6beta1 version of initdb contained
> an incorrect version constant?
https://www.postgresql.org/about/news/1686/
"Due to changes in system catalogs, a pg_upgrade or dump and restore
will be required for users migrating databases from earlier betas. This
includes a version update to the pg_control tool, making it incompatible
with PostgreSQL 9.4 and earlier. This beta also includes patches to many
issues shared with earlier versions, which will be updated in an
upcoming minor release."
>
> PGDATA is definitely pointing to the correct path.
>
> Thanks,
> Rob
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com