InitDB Failure - PostgreSQL 7.2, RedHat 7.3, compile from source

From: chris(at)creatop(dot)com(dot)au
To: pgsql-hackers(at)postgresql(dot)org
Subject: InitDB Failure - PostgreSQL 7.2, RedHat 7.3, compile from source
Date: 2002-11-28 07:50:18
Message-ID: 956506.1038469818180.JavaMail.nobody@MACBETH
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Sorry to ask this question straight out but I wasn't sure where else to get an answer!

Due to the 32 character limit on column/table names, we needed to recompile PostgreSQL from the source with updated settings. It compiles fine, but on running initdb, we get the following output:

------------------------------------
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

Fixing permissions on existing directory /var/lib/pgsql/data... ok
creating directory /var/lib/pgsql/data/base... ok
creating directory /var/lib/pgsql/data/global... ok
creating directory /var/lib/pgsql/data/pg_xlog... ok
creating directory /var/lib/pgsql/data/pg_clog... ok
creating template1 database in /var/lib/pgsql/data/base/1... /usr/bin/initdb: line 473: 23462 Broken pipe cat "$POSTGRES_BKI"
23463 | sed -e "s/POSTGRES/$POSTGRES_SUPERUSERNAME/g" -e "s/ENCODING/$MULTIBYTEID/g"
23464 Segmentation fault | "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1

initdb failed.
---------------------------------

Can anyone shed some light on this just by looking at it? Two of us have wasted basically an entire day getting to this point and would appreciate any assistance. We may end up having to settle with 64 characters and install the latest RC :-) However ideally we'd like to be able to go beyond 64.

Cheers,

Chris

----------------------------------------------
Chris Cox
B.IT.(Information Systems)
Senior Software Engineer

Creatop Interactive Media
Level 1, 240 McCullough Street
Sunnybank. Qld. 4109
Australia
Ph: +61 7 3216 9755
Mobile: +61 412 416600
http://www.creatop.com.au/
chris(at)creatop(dot)com(dot)au
----------------------------------------------

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2002-11-28 08:11:33 Re: Auto Vacuum Daemon (again...)
Previous Message Steve Jackson 2002-11-28 07:32:46 System Tables