RE: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0

From: "Matt Magoffin (Borders Online)" <mmagoffi(at)borders(dot)com>
To: "'Bruce Momjian'" <maillist(at)candle(dot)pha(dot)pa(dot)us>, "David R(dot) Favor" <dfavor(at)austin(dot)ibm(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgreSQL(dot)org>
Subject: RE: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0
Date: 1999-06-23 19:35:32
Message-ID: 69D22D320BA4D211BA5300805F9F4249017FE7FE@EXCHANGE02_PH
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, updating the linux_ppc template to CFLAGS=O0 fixes all the problems.

Thanks for the help!

-- M@

-----Original Message-----
From: Bruce Momjian [mailto:maillist(at)candle(dot)pha(dot)pa(dot)us]
Sent: Wednesday, June 23, 1999 3:05 PM
To: David R. Favor
Cc: Matt Magoffin (Borders Online); 'pgsql-general(at)postgresql(dot)org';
'dfavor(at)gate(dot)corridor(dot)com'
Subject: Re: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0

> "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.
>
>

We have updated template/linux_ppc with:

CFLAGS:-O0 -mieee # optimization -O2 removed because of egcs problem

We understand the cause. It is our bug, not egcs. egcs is just better
at optimization on that platform than most.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-general by date

  From Date Subject
Next Message Matt Magoffin (Borders Online) 1999-06-24 01:06:44 ERROR: Unable to open PostgreSQL large object
Previous Message Bob Kruger 1999-06-23 19:06:54 Date time insertion