On 11.09.2019 12:59, Dimitry Sibiryakov wrote:
11.09.2019 9:13, Alex Peshkoff via Firebird-devel 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.

  How about an iterator on error lines? It could have methods like getGdsCode(), getLine(), getParam() in addition to standard iterator's ones.

if you mean getParam(n) together with getNumberOfParams() - I tend to agree.

Would be useful to scan status looking for definite errors

Very useful feature. I already have restricted implementation inside firebird code (not exported).

and getting some data (for example name of failed FK).



I'm afraid that getting data by attribute like 'name of failed FK' is close to AI task. If we extend firebird.msg with meaning of parameters - well, we can for each line have a method like getParamMeaning(n) which can return something like "name of failed FK". Or may be I've misunderstood your suggestion?




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

Reply via email to