Re: [NOVICE] Re: Re: compilation error - Mailing list pgsql-general

From Tom Lane
Subject Re: [NOVICE] Re: Re: compilation error
Date
Msg-id 28370.984593915@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: compilation error  ("Daniel A. Melo" <daniel@codata.com.br>)
List pgsql-general
"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

pgsql-general by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: Re: Maximum size of one table
Next
From: Tom Lane
Date:
Subject: Re: pg_hba.conf "sameuser"