Thread: 7.1 initdb error

7.1 initdb error

From
"mike"
Date:
I'm getting a peculiar error when I try to run the initdb program so I can start using postgres.
 
things proced as usual then I get an error while initdb is creatting template1.
 ERROR: Error: unknowen type 'ame'
 
initdb then continues on its merry little way on creating global relations and just as it looks as its going to finish up it gives the following
 
DEBUG: database system was not properly shut down; automatic recovery in process...
ERROR: Error cannot open pg_log: no such file or directory
 
 
any advice would be great
 
Mike
 
 
 

Re: 7.1 initdb error

From
Tom Lane
Date:
"mike" <matrix@quadrent.net> writes:
> things proced as usual then I get an error while initdb is creatting templa=
> te1.
>  ERROR: Error: unknowen type 'ame'=20

This was just discovered a day or two ago --- there's been an extraneous
backslash in genbki.sh since, oh, about 1996.  Curious how a bug can go
unnoticed for years and then two people pop up with it in a week.

You can change "/\name/" to "/name/" in src/backend/catalog/genbki.sh,
then re-make install in that directory; or just use the latest nightly
snapshot.

            regards, tom lane