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
In response to
pgsql-general by date
|Next:||From: Tom Lane||Date: 2005-12-28 20:10:24|
|Subject: Re: Queries never returning... |
|Previous:||From: Tom Lane||Date: 2005-12-28 19:58:40|
|Subject: Re: [GENERAL] Running with fsync=off |