Re: [Pgsql-ayuda] actualizar postgresql de 7.2.1 a 7.3.3

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: "Carlos" <cperochena(at)servilex(dot)com(dot)pe>, "Alvaro Herrera" <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: "Manuel Sugawara" <masm(at)fciencias(dot)unam(dot)mx>, <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
Subject: Re: [Pgsql-ayuda] actualizar postgresql de 7.2.1 a 7.3.3
Date: 2003-07-03 23:05:44
Message-ID: 200307032005.44889.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Jue 03 Jul 2003 19:57, Carlos wrote:
> Me sale lo siguiente cuando le hago initdb
>
> bash-2.05a$ initdb -D /var/lib/pgsql/data
> The files belonging to this database system will be owned by user
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale es_PE.
> This locale setting will prevent the use of indexes for pattern
> matching operations. If that is a concern, rerun initdb with the
> collation order set to "C". For more information see the
> Administrator's Guide.
>
> initdb: The directory /var/lib/pgsql/data exists but is not empty.
> If you want to create a new database system, either remove or empty
> the directory /var/lib/pgsql/data or run initdb with
> an argument other than /var/lib/pgsql/data
>
> espero me puedan ayudar

Disculpame por la crudeza, pero... no esta claro lo que te dice el initdb?

Bueno, explico, para entender un poco los por menores:
Dice que ya existe /var/lib/pgsql/data que es donde van a estar alojadas
to BD con los archivos de configuracion del servidor de BD.
Esto es asi porque vos tenias PgSQL instalado antes, por lo que el
directorio ya existia (con las bases del sistema viejo).
Si hiciste las cosas correctamente, y tenes un DUMP de tus bases viejas,
ahora deberias mover data a data.old (mv data data.old) y ejecutar
nuevamente el initdb.
Luego arrancas el servidor de DB y le volcas el DUMP de tus bases viejas
para tenerlas en el sistema nuevo.

Suerte!

--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Carlos 2003-07-03 23:51:28 RE: [Pgsql-ayuda] actualizar postgresql de 7.2.1 a 7.3.3
Previous Message Carlos 2003-07-03 22:57:42 RE: [Pgsql-ayuda] actualizar postgresql de 7.2.1 a 7.3.3