Returning text from stored procedures??

Started by Steffen Nielsenalmost 24 years ago2 messageshackers
Jump to latest
#1Steffen Nielsen
styf@cs.auc.dk

Hi!

I seem to have trouble returning large strings of text from stored procedures
(coded in C), It works fine for smaller data?
And elog prints out the result nicely; but when the result is "returned" it
makes the server disconnect???? I use the standard Datum methods (actually
I've tried any possible way returning the damn text :-( ).

Any Ideas why? Are there restriction on the size of text a stored procedure
can return?

Any help is appreciated :-)

/Steffen Nielsen

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Steffen Nielsen (#1)
Re: Returning text from stored procedures??

Steffen Nielsen <styf@cs.auc.dk> writes:

Any Ideas why? Are there restriction on the size of text a stored procedure
can return?

One gig ...

It's hard to guess what you're doing wrong when you haven't shown us
your code.

regards, tom lane