Re: ERROR: cache lookup failed for type 0

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: cache lookup failed for type 0
Date: 2005-01-08 06:17:36
Message-ID: 874qhs4f7j.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Tzahi Fadida <tzahi_ml(at)myrealbox(dot)com> writes:
> > well, I tried the heap_deformtuple and I am getting now:
> > select testgetrows();
> > server closed the connection unexpectedly
>
> You didn't palloc the values array. Any reasonable compiler would have
> warned you about that BTW. If you don't have compiler warnings enabled,
> learn to use them.

I think with gcc this type of warning is only enabled when you're compiling
with optimizations. Most people don't compile with optimizations enabled when
developing.

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Esteban Kemp 2005-01-08 14:14:00 Best Linux Distribution
Previous Message Stuart Bishop 2005-01-08 02:58:13 Re: [GENERAL] PostgreSQL 8.0.0 Release Candidate 4