wouah. Ok. Looks like programming deficient skills ... :)
Thank you.
By the way,
I have been using DB2 and its Call Level Interface (CLI) API and it was great because you have the same API (based onb ODBC) for writing server side stored procedures and external functions.
I guess that's why I was
I do use gdb with eclipse but I don't manage to enter the source code of my spi C functions.
Suppose I have a SPI functions that :
1) connects to the db (SPIConnect)
2) Executes a simple select (SPIExec)
3) Writes result of the select in a text file
4) disconnects from the db (SPIFinish)
Then I
UP !
Aren't there any way to debug server programming functions (whatever the language) ??
Benjamin.
[EMAIL PROTECTED]
Envoyé par : [EMAIL PROTECTED]
12/01/2005 17:15
Pour : pgsql-general@postgresql.org
cc :
Objet : [GENERAL] Debuggi
Hi all,
We have a postgresql server running on a Linux machine. Our aim is to develop a bunch of SPI stored procedures to automate a production process.
We use Eclipse with CDT plugin for C programming.
Is there a mean to debug SPI functions with Eclipse (or any other tool) as it is possible wi
after investigation, I have to reformulate :
The actual memory is freed after each call of spi_finish, which is cool. However the global amount of virtual memory used by the process does not decrease until the last spi_finish. I get :
ERROR: out of memory
DETAIL: Failed on request of size 10.