Hi
Can you share this udr to test? Have it all nescessery setup metchods to be full secure compared to udf?
Regards,
Karol Bieniaszewski
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/9e0fba6f-b44d-4e81-a5b5-7bd757b179a7%40gmail.com.
Udf is marked as obsolete because it is not secure. UDR is just as dangerous if you don't define vetting methods.
And these are the methods I'm talking about ;-)
Regards,
Karol Bieniaszewski
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/6f5d3a21-d503-4595-9856-4820af203f03%40lawinegevaar.nl.
Udf is marked as obsolete because it is not secure. UDR is just as dangerous if you don't define vetting methods.
And these are the methods I'm talking about ;-)
I see different results:
UDF : 1734 ms
UDR : 4469 ms
> UDR is native code as well and may be dangerous if bad coded.
>UDF may be dangerous even if well coded, as a wrong DECLARE may cause the problem.
Yes, that was my point.
> About my test, the UDR is present in the Firebird core repository.
Where, can you put a link? I will test then on I7, Xenon..
Regards,
Karol Bieniaszewski
Wysłano: środa, 10 stycznia 2024 16:14
Do: firebir...@googlegroups.com
Temat: Re: ODP: [firebird-devel] UDF vs UDR speed (was Re: Deprecation)
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/CALko8OSp9MmEZfD23Mwh3DUsGHWF-fb9_E2LNA_xFebLwNPJrw%40mail.gmail.com.
>> You seem to be missing the point that UDFs are more dangerous than UDR
>> because wrong declaration of a correctly coded UDF can compromise your
>> system, while UDRs don't have that issue, while you seem to assume they
>> are equally dangerous.
Udr is same dangerous if written minimal code without proper setup, parameters types check etc.
>> The udf_compat is included by default since Firebird 4 (see plugins/udr
>> in your Firebird install, and the Firebird 4 release notes[1]).
I did not used udf_compat previously as built in functions was enough, that the reason i have thinked that Adriano written something new to provide test 😉
Regards,
Karol Bieniaszewski
Wysłano: środa, 10 stycznia 2024 18:13
Do: firebir...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/f7eaa4bd-7270-4bd8-b48d-0790607aa994%40lawinegevaar.nl.