I had done this too.. But the same error :
DBCURRENT=# select func_stockoutitems('01/10/2003', '05/10/2003', '');
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
!#
Most probably the backend has dumped the core. Can you send me relevant database schema, function body and postgresq version. I think this could be a date related bug but not sure.
BTW, can you put numerous echo/prints in the SQL function and find out exactly where it is aborting?
Shridhar
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
