Re: c extension

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: c extension
Дата
Msg-id 418BFC79.1050304@joeconway.com
обсуждение исходный текст
Ответ на Re: c extension  (Kjetil Haaland <kjetil.haaland@student.uib.no>)
Список pgsql-novice
Kjetil Haaland wrote:
> I have no managed to set the memorycontext to TopMemoryContext but it still
> doesn't work. The table with the integers is still working fine, but the
> table with the characters are no good and it crashes when i try to read it.
> In the log it says that there is a record with zero length.
>
> Does anyone have any suggestion of what could be wrong?

Are you handling NULLs correctly?

Hard to say -- if you really want help you'll need to post your C function.

Joe

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: building a row with a plpgsql function
Следующее
От: graeme
Дата:
Сообщение: Re: Question on locking