[Pgsql-ayuda] actualizar postgresql de 7.2.1 a 7.3.3

Carlos cperochena@servilex.com.pe
Thu, 3 Jul 2003 17:57:42 -0500


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
gracias
.

-----Mensaje original-----
De: Martin Marques <martin@bugs.unl.edu.ar>
Para: Carlos <cperochena@servilex.com.pe>; Alvaro Herrera
<alvherre@dcc.uchile.cl>
CC: Manuel Sugawara <masm@fciencias.unam.mx>;
pgsql-ayuda@tlali.iztacala.unam.mx <pgsql-ayuda@tlali.iztacala.unam.mx>
Fecha: Jueves, 03 de Julio de 2003 06:00 p.m.
Asunto: Re: [Pgsql-ayuda] actualizar postgresql de 7.2.1 a 7.3.3


>On Jue 03 Jul 2003 19:31, Carlos wrote:
>> Muchas gracias a todos,,esto fue lo que puse,
>> [root@mail pgsql]# rpm -Uvh postgresql-7_3_3-1PGDG_i386.rpm
>> postgresql-libs-7_3_3-1PGDG_i386.rpm
>> postgresql-devel-7_3_3-1PGDG_i386.rpm
>> postgresql-server-7_3_3-1PGDG_i386.rpm
>> postgresql-contrib-7_3_3-1PGDG_i386.rpm
>> Preparing...                ###########################################
>> [100%]
>>    1:postgresql-libs        ###########################################
>> 20%]
>>    2:postgresql             ###########################################
>> 40%]
>>    3:postgresql-devel       ###########################################
>> 60%]
>>    4:postgresql-server      warning: /etc/rc.d/init.d/postgresql saved
>> as /etc/rc.d/init.d/postgresql.rpmsave
>> ########################################### [ 80%]
>>    5:postgresql-contrib     ###########################################
>> [100%]
>>
>> Es correcto lo que me salio.?
>
>Si, asi parece.
>
>> y Ahora como hago para inicializar mi base de datos? con initdb? que
>> parametros le mando?
>
>Por lo general los scripts de inicio ya vienen seteados para hacer un
>initdb, aunque deberias leer la documentacion sobre como actualizar rpms.
>
>--
>Porqué usar una base de datos relacional cualquiera,
>si podés usar PostgreSQL?
>-----------------------------------------------------------------
>Martín Marqués                  |        mmarques@unl.edu.ar
>Programador, Administrador, DBA |       Centro de Telematica
>                       Universidad Nacional
>                            del Litoral
>-----------------------------------------------------------------
>