Re: ERROR: cache lookup failed for type 0

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: ERROR: cache lookup failed for type 0
Дата
Msg-id 874qhs4f7j.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: ERROR: cache lookup failed for type 0  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ERROR: cache lookup failed for type 0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Tzahi Fadida <tzahi_ml@myrealbox.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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Alam Surya"
Дата:
Сообщение: Re: MS-SQL to PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: cache lookup failed for type 0