Re: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0 - Mailing list pgsql-general

From David R. Favor
Subject Re: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0
Date
Msg-id 37712E3A.27BEF152@austin.ibm.com
Whole thread Raw
In response to ERROR: typeidTypeRelid: Invalid type - oid = 0  ("Matt Magoffin (Borders Online)" <mmagoffi@borders.com>)
Responses Re: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-general
"Matt Magoffin (Borders Online)" wrote:
>
> I've read many postings of people having this same problem, which I am now
> having since I've updated to LinuxPPC R5. At this point I've compiled a
> completely NEW database from scratch (with no problems) and, following right
> along in the install docs, run %initdb, %createdb, %psql (and then the
> "select datetime 'now';" query), and finally %destroydb, which produces the
> error
>
> ERROR:  typeidTypeRelid: Invalid type - oid = 0
>
> Has there been any patch or work-around yet? (David, I saw you had submitted
> a Bug report).
>
> -- M@

The only way I can get gcc to work is to use -O0 to turn off all optimization.

If you figure out what's wrong, be sure to post it to this list and the egcs list.

pgsql-general by date:

Previous
From: "Matt Magoffin (Borders Online)"
Date:
Subject: ERROR: typeidTypeRelid: Invalid type - oid = 0
Next
From: Bob Kruger
Date:
Subject: Date time insertion