Re: Insert fail: could not open relation with OID 3221204992

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Insert fail: could not open relation with OID 3221204992
Дата
Msg-id 9429.1174958742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Insert fail: could not open relation with OID 3221204992  (araza@esri.com)
Ответы Re: Insert fail: could not open relation with OID 3221204992  (araza@esri.com)
Where to find kind code for STATISTIC_KIND GEOMETRY?  (araza@esri.com)
Список pgsql-general
"Ale Raza" <araza@esri.com> writes:
> Same results with -O0 option.

Hmmm ... I guess I should have stopped to read the code a little closer:

>> Breakpoint 1, ST_Geometry_Recv (fcinfo=0xbfffcb90) at binary.c:138
>> 138             StringInfo src_buf = (StringInfo)
> PG_DETOAST_DATUM(PG_GETARG_DATUM(0));

Where did you get that from?  Receive functions are supposed to do this:

    StringInfo    buf = (StringInfo) PG_GETARG_POINTER(0);

StringInfos aren't a toastable datatype.  The loss of control probably
represents the toast code throwing an error ...

            regards, tom lane

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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Temporarily disable all table indices
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG over NFS