Re: C Function Problem for bytea output

Поиск
Список
Период
Сортировка
От vishal saberwal
Тема Re: C Function Problem for bytea output
Дата
Msg-id 3e74dc250512281631w6082df8bmf9e6a6edbb8ce79@mail.gmail.com
обсуждение исходный текст
Ответ на Re: C Function Problem for bytea output  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
thanks tom,

yes it was fopen problem ... the problem was solved when i did chown postgres ...
i should have seen that ...

thanks,
vish

On 12/28/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
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 по дате отправления: