From: | vishal saberwal <vishalsaberwal(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: C Function Problem for bytea output |
Date: | 2005-12-29 00:31:12 |
Message-ID: | 3e74dc250512281631w6082df8bmf9e6a6edbb8ce79@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> vishal saberwal <vishalsaberwal(at)gmail(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Ted Byers | 2005-12-29 01:28:39 | Re: [Bulk] Re: Final stored procedure question, for now anyway |
Previous Message | Frank L. Parks | 2005-12-29 00:27:56 | Re: Final stored procedure question, for now anyway |