Re: The database cluster was initialized without HAVE_INT64_TIMESTAMP

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>
Cc: Oswaldo Hernández <listas(at)soft-com(dot)es>, Lista Postgres <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: The database cluster was initialized without HAVE_INT64_TIMESTAMP
Date: 2009-05-20 15:12:30
Message-ID: 20090520151230.GA5368@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

> El día 20 de mayo de 2009 10:54, Oswaldo Hernández
> <listas(at)soft-com(dot)es> escribió:
> > Hola,
> >
> > Tengo los archivos de un cluster creado con la version 7.4 para actualizar.
> >
> > He descargado los fuentes de la 7.4.25 y compilado utilizando el flag
> > '--enable-integer-datetimes' en el configure segun:
> > <http://archives.postgresql.org/pgsql-es-ayuda/2009-02/msg00307.php>.
> >
> > Pero al intentar iniciarlo falla y continua mostrando el mensaje:
> >
> > FATAL:  database files are incompatible with server
> > DETAIL:  The database cluster was initialized without HAVE_INT64_TIMESTAMP
> > but the server was compiled with HAVE_INT64_TIMESTAMP.
> > HINT:  It looks like you need to recompile or initdb.

Hiciste justo lo contrario -- tenías que omitir el
--enable-integer-datetimes, porque los archivos de datos usan el otro
formato (float).

Si necesitas usar datetimes en int64, puedes compilar con el flag
desactivado, levantar la base de datos, hacer un dump, compilar con el
flag activado, restaurar el dump.

--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
We take risks not to escape from life, but to prevent life escaping from us.

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2009-05-20 15:18:44 Re: Subir plano o tabla
Previous Message Julio Cesar Rodriguez Dominguez 2009-05-20 15:07:02 Re: Diferencia de tiempo