Re: The database cluster was initialized without HAVE_INT64_TIMESTAMP

From: Oswaldo Hernández <listas(at)soft-com(dot)es>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>, 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:29:12
Message-ID: 4A1421C8.9020407@soft-com.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Alvaro Herrera escribió:
>> 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.
>

Acabo de solucionarlo y he visto tu mensaje, tienes razón, estaba haciendo lo contrario.

Graciias.

--
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************
PD:
Antes de imprimir este mensaje, asegúrese de que es necesario.
El medio ambiente está en nuestra mano.

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message marcelo Cortez 2009-05-20 15:41:31 Re: [pgsql-es-ayuda] OT: Posible solución a este problema
Previous Message Javier Chávez B. 2009-05-20 15:28:29 Re: Subir plano o tabla