Error al ejecutar initdb

From: LDC - Carmen Brando <carmen(at)ldc(dot)usb(dot)ve>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Error al ejecutar initdb
Date: 2006-10-16 14:01:30
Message-ID: Pine.LNX.4.64.0610160938590.32278@leto.ldc.usb.ve
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda


Hola,

Estamos modificando postgres para agregar un operador que
se comporta similar al Sort. Estamos usando 8.1.4 y se han
hecho los cambios necesarios desde el parser hasta el executor.
Entonces, al instalar nuestro postgres modificado, especificamente
con el comando initdb da este error:

[postgres(at)skywalker codigo]$ /opt/pgtests/postgresv2/bin/initdb -D
/opt/pgtests/postgresv2/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 en_US.UTF-8.
The default database encoding has accordingly been set to UTF8.

fixing permissions on existing directory /opt/pgtests/postgresv2/data ... ok
creating directory /opt/pgtests/postgresv2/data/global ... ok
creating directory /opt/pgtests/postgresv2/data/pg_xlog ... ok
creating directory /opt/pgtests/postgresv2/data/pg_xlog/archive_status ... ok
creating directory /opt/pgtests/postgresv2/data/pg_clog ... ok
creating directory /opt/pgtests/postgresv2/data/pg_subtrans ... ok
creating directory /opt/pgtests/postgresv2/data/pg_twophase ... ok
creating directory /opt/pgtests/postgresv2/data/pg_multixact/members ... ok
creating directory /opt/pgtests/postgresv2/data/pg_multixact/offsets ... ok
creating directory /opt/pgtests/postgresv2/data/base ... ok
creating directory /opt/pgtests/postgresv2/data/base/1 ... ok
creating directory /opt/pgtests/postgresv2/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in /opt/pgtests/postgresv2/data/base/1 ... ok
initializing pg_authid ... ok
enabling unlimited row size for system tables ... ok
initializing dependencies ... ok
creating system views ... FATAL: did not find '}' at end of input node
child process exited with exit code 1
initdb: removing contents of data directory "/opt/pgtests/postgresv2/data"

Este error solo aparecio despues de haber agregado las funciones
necesarias para nuestro nodo en readfuncs.c, copyfuncs.c y
outfuncs.c

Vimos que el error: ".. FATAL: did
not find '}' at end of input node", es
lanzado en la funcion nodeRead del archivo read.c

Agradecemos cualquier ayuda que nos puedan brindar,
Carmen Brando y Vanessa Gonzalez.

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message LDC - Carmen Brando 2006-10-16 14:28:04 Re: Error al ejecutar initdb
Previous Message Alvaro Herrera 2006-10-16 12:47:28 Re: SIGPIPE