, result);
HeapTuple data;
Datum finalResult;
data = BuildTupleFromCStrings(attinmeta, output);
finalResult = HeapTupleGetDatum(data);
SRF_RETURN_NEXT(funcctx, finalResult);
---
Any idea what could be the cause of this error?
Regards
Islam Hegazy
Yes, I am sure. If I placed a breakpoint in any file, e.g. execMain.c, the
debugger would enter this file.
Islam Hegazy
- Original Message -
From: Gregory Stark [EMAIL PROTECTED]
To: Islam Hegazy [EMAIL PROTECTED]
Cc: Tom Lane [EMAIL PROTECTED]; Joe Conway [EMAIL PROTECTED];
pgsql
the SRF is
finished running'. I don't understand this statement so I created the
variables as static but it is not working with struct
Regards
Islam Hegazy
- Original Message -
From: Gregory Stark [EMAIL PROTECTED]
To: Islam Hegazy [EMAIL PROTECTED]
Cc: Tom Lane [EMAIL PROTECTED
them as static to be preserved between calls, my function returns a
set of records. When I comment the pointers portion, the function works
well. But with the pointers, it hangs.
Any idea on how to deal with pointers issue?
Regards
Islam Hegazy
- Original Message -
From: Tom Lane
missing?
Regards
Islam Hegazy
- Original Message -
From: Tom Lane [EMAIL PROTECTED]
To: Islam Hegazy [EMAIL PROTECTED]
Cc: Joe Conway [EMAIL PROTECTED]; pgsql-general@postgresql.org
Sent: Sunday, June 03, 2007 10:00 PM
Subject: Re: [GENERAL] debugging C functions
Islam Hegazy [EMAIL
Hi there
I wrote a C function to call from PostgreSQL8.2.4 under Linux. The functions
returns unexpected results. I did an extensive analysis to the function and it
seems correct. I want to know if there is a way to debug C functions that are
passed to PostgreSQL.
Thanks
Islam
be the problem?
Regards
Islam Hegazy
- Original Message -
From: Andrei Kovalevski [EMAIL PROTECTED]
To: pgsql-general@postgresql.org; Islam Hegazy [EMAIL PROTECTED]
Sent: Thursday, May 03, 2007 7:32 AM
Subject: Re: [GENERAL] C functions under windows
Islam Hegazy wrote:
Hi all
I have postgresql server installed on a windows
machine like strings.h. I
tested my functions on another server installed on a linix machine and it
worked correctly. So the problem appears to be in the include files under
windows.
Any idea how to solve this problem...
Regards
Islam Hegazy