Hi! Imagine this:
create function f1(n integer) returns varchar(20) external name ... engine ... Then when compiling this function, the external engine (maybe due to the info in the 'name' string), want to receive the 'n' parameter as VARCHAR. But the caller calls f1 with (10.2) argument. What should be passed to the external function? Currently, 10.2 is converted directly to VARCHAR, so the metadata declared type (INTEGER) is ignored. That is: 1) Faster 2) Give the power to the external code, who can see the original type and change it 3) It may be weird, but is flexible 4) It even opens future possibilities where a function is declared as a varargs and the external code setup it Opinions? Adriano ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
