On Wed, 19 Jun 2019 20:41:29 +0200, Jiří Činčura <j...@cincura.net> wrote: > I would say your assumption is not correct. Although I still haven't > done the test, my expectation is that the PSQL would beat the UDF in > invocation/load and UDF would be faster for execution.
I once tried to rewrite one of my UDF functions as PSQL (in Firebird 2.5.8) and it was much slower. It could be, that it was because EXTRACT is slow and may not apply to some other PSQL. -- Virgo Pärna virgo.pa...@mail.ee Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel