"Daniel A. Melo" <daniel@codata.com.br> writes:
> Now my initdb has some problem:
> ERROR: Error: unknown type 'ame'.
Ah, you must be on one of the platforms that doesn't like those
extraneous backslashes in src/backend/catalog/genbki.sh. Apply
this patch:
*** pgsql/src/backend/catalog/genbki.sh 2000/10/28 22:14:14 1.18
--- pgsql/src/backend/catalog/genbki.sh 2001/01/16 22:48:34 1.19
***************
*** 161,170 ****
;g' | # we must run a new sed here to see the newlines we added
sed -e "s/;[ ]*$//g" \
-e "s/^[ ]*//" \
! -e "s/[ ]Oid/\ oid/g" \
! -e "s/[ ]NameData/\ name/g" \
-e "s/^Oid/oid/g" \
! -e "s/^NameData/\name/g" \
-e "s/(NameData/(name/g" \
-e "s/(Oid/(oid/g" \
-e "s/NAMEDATALEN/$NAMEDATALEN/g" \
--- 161,170 ----
;g' | # we must run a new sed here to see the newlines we added
sed -e "s/;[ ]*$//g" \
-e "s/^[ ]*//" \
! -e "s/[ ]Oid/ oid/g" \
! -e "s/[ ]NameData/ name/g" \
-e "s/^Oid/oid/g" \
! -e "s/^NameData/name/g" \
-e "s/(NameData/(name/g" \
-e "s/(Oid/(oid/g" \
-e "s/NAMEDATALEN/$NAMEDATALEN/g" \
then re-run 'make all' and 'make install' in src/backend.
regards, tom lane