Search Postgresql Archives

Re: C Function Problem for bytea output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> wrote:
vishal saberwal <vishalsaberwal@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux