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 <[EMAIL PROTECTED]> wrote:
vishal saberwal <[EMAIL PROTECTED]> 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

Reply via email to