Re: C Function Problem for bytea output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C Function Problem for bytea output
Дата
Msg-id 21413.1135800127@sss.pgh.pa.us
обсуждение исходный текст
Ответ на C Function Problem for bytea output  (vishal saberwal <vishalsaberwal@gmail.com>)
Ответы Re: C Function Problem for bytea output  (vishal saberwal <vishalsaberwal@gmail.com>)
Список pgsql-general
vishal saberwal <vishalsaberwal@gmail.com> writes:
> I believe its something in the function but i can't spot the error.

Well, that sure looks like a NULL result; have you considered the
possibility that the fopen is failing?

BTW, that code will happily clobber memory that doesn't
belong to it if the passed FileLength is wrong.

            regards, tom lane

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

Предыдущее
От: John McCawley
Дата:
Сообщение: Queries never returning...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Queries never returning...