General Bug Report: initdb fails with parsing error in creating template1 db - Mailing list pgsql-bugs

From Unprivileged user
Subject General Bug Report: initdb fails with parsing error in creating template1 db
Date
Msg-id 2691a3fd852b8af02265c3c3518c6f2c
Whole thread Raw
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Bruce Stern
Your email address    : sternb@erols.com

Category        : install: other
Severity        : critical

Summary: initdb fails with parsing error in creating template1 db

System Configuration
- --------------------
  Operating System   : Red Hat 5.1 Linux 2.0.35

  PostgreSQL version : 6.4

  Compiler used      : gcc

Hardware:
- ---------
AMD K6-2 300MHz, 64 M RAM

Versions of other tools:
- ------------------------


- --------------------------------------------------------------------------

Problem Description:
- --------------------
After a clean install still get a syntax error executing initdb.  Ran initdb -d > initdbd.log and found that the debug
log'slast entry in the template1 portion is just before the declare index lines in the source file. The first couple of
theselook different than the 6.3.2 version. It is possible that this is causing the syntax error reported earlier. 

- --------------------------------------------------------------------------

Test Case:
- ----------
initdb reliably fails to execute.  Same error all the time as reported earlier.

- --------------------------------------------------------------------------

Solution:
- ---------
Edit local1_template1.bki.source to fix the errant declare index lines.  (I am not sure what these should be.)

- --------------------------------------------------------------------------

pgsql-bugs by date:

Previous
From: Unprivileged user
Date:
Subject: General Bug Report: missing linked SH lib in pgaccess
Next
From: Unprivileged user
Date:
Subject: General Bug Report: backend terminated while attempting to use large objects