Re: BUG #1151: Initdb fails ... - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1151: Initdb fails ...
Date
Msg-id 10015.1084287797@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1151: Initdb fails ...  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Responses Re: BUG #1151: Initdb fails ...
List pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> creating template1 database in /pg_database/database/base/1... ok
> initializing pg_shadow... ok
> enabling unlimited row size for system tables... ok
> initializing pg_depend... ok
> creating system views... ERROR:  did not find '}' at end of input node

Hmm.  This would seem to indicate a mismatch between the nodeToString
and stringToNode routines (outfuncs.c and readfuncs.c), which is
something we don't normally see unless someone's messed up their build.
Try a full recompile.

You're not using that infamous CONNECT BY patch, are you?

> I think this problem is related to HP-UX 11.00 because I test my upgrade
> procedure on an HP-UX 10.20 box, same database, same source and same
> destination version w/o any trouble.

FWIW, I've tested recently on HPUX 11.11 and 11.23, without seeing any
such problems.  And we're definitely not broken on 10.20 because I still
use 10.20 on my main development machine.  But my bet is that this isn't
an OS issue at all.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1150: grant options not properly checked
Next
From: Laurent FAILLIE
Date:
Subject: Re: BUG #1151: Initdb fails ...