On 11.09.2019 11:32, Jiří Činčura wrote:
No other method - but if you have reasonable suggestion we will be happy
to implement it. Just an idea - language details are not needed.
Is the size of the message known?

No - at least in advance. What can be done is request to calculate it.

That would allow to either allocate the right size buffer or have some logic on 
upper limit.


One more related idea - return text in firebird-allocated buffer which is later released by explicit cliens call.
The main visible disadvantage is possible deadlock when error is OOM.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to